Skip to content

Commit c27dabe

Browse files
authored
Merge pull request #9256 from jeromecoutant/PR_FLASHEEPROM
STM32L0 & STM32L1: FLASH is EEPROM
2 parents 14c6ac9 + ef2fceb commit c27dabe

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)