diff options
Diffstat (limited to 'board/w7o/flash.c')
-rw-r--r-- | board/w7o/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/w7o/flash.c b/board/w7o/flash.c index 0048476..5651e1c 100644 --- a/board/w7o/flash.c +++ b/board/w7o/flash.c @@ -83,7 +83,7 @@ unsigned long flash_init (void) /* Monitor protection ON by default */ (void)flash_protect(FLAG_PROTECT_SET, - base_b0 + size_b0 - CFG_MONITOR_LEN, + base_b0 + size_b0 - monitor_flash_len, base_b0 + size_b0 - 1, &flash_info[0]); |