summaryrefslogtreecommitdiff
path: root/board/esd/canbt/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/canbt/flash.c')
-rw-r--r--board/esd/canbt/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/canbt/flash.c b/board/esd/canbt/flash.c
index 214948f..685850e 100644
--- a/board/esd/canbt/flash.c
+++ b/board/esd/canbt/flash.c
@@ -74,7 +74,7 @@ unsigned long flash_init (void)
/* Monitor protection ON by default */
(void)flash_protect(FLAG_PROTECT_SET,
- -CFG_MONITOR_LEN,
+ -monitor_flash_len,
0xffffffff,
&flash_info[0]);