summaryrefslogtreecommitdiff
path: root/board/LEOX/elpt860
diff options
context:
space:
mode:
Diffstat (limited to 'board/LEOX/elpt860')
-rw-r--r--board/LEOX/elpt860/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/LEOX/elpt860/flash.c b/board/LEOX/elpt860/flash.c
index a9238e16cf..7107aaa6c2 100644
--- a/board/LEOX/elpt860/flash.c
+++ b/board/LEOX/elpt860/flash.c
@@ -118,7 +118,7 @@ flash_init (void)
/* monitor protection ON by default */
flash_protect (FLAG_PROTECT_SET,
CFG_MONITOR_BASE,
- CFG_MONITOR_BASE + CFG_MONITOR_LEN-1,
+ CFG_MONITOR_BASE + monitor_flash_len-1,
&flash_info[0]);
#endif