Skip to content

Commit ef2fceb

Browse files
committed
STM32 L0 & L1: FLASH is EEPROM
1 parent 9ca15a7 commit ef2fceb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

targets/TARGET_STM/TARGET_STM32L0/flash_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ uint8_t flash_get_erase_value(const flash_t *obj)
178178
{
179179
(void)obj;
180180

181-
return 0xFF;
181+
return 0x0;
182182
}
183183

184184
#endif

targets/TARGET_STM/TARGET_STM32L1/flash_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ uint8_t flash_get_erase_value(const flash_t *obj)
175175
{
176176
(void)obj;
177177

178-
return 0xFF;
178+
return 0x0;
179179
}
180180

181181
#endif

0 commit comments

Comments
 (0)