summaryrefslogtreecommitdiffstats
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 214948f6d8..685850e84f 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]);
OpenPOWER on IntegriCloud