main firmware: fix eeprom reliability, add more LED programs
This commit is contained in:
@@ -1017,7 +1017,7 @@ FLASH_Status EEPROM_EraseByte(uint32_t Address)
|
||||
{
|
||||
/* If the previous operation is completed, proceed to program the new data */
|
||||
FLASH->ECR |= FLASH_ECR_EEPROM_ER;
|
||||
FLASH->AR = Address;
|
||||
FLASH->AR = Address;
|
||||
FLASH->CR |= FLASH_CR_STRT;
|
||||
|
||||
/* Wait for last operation to be completed */
|
||||
|
||||
Reference in New Issue
Block a user