mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-13 19:13:14 +00:00
Multi Config: eeprom format for atmega
This commit is contained in:
@@ -94,7 +94,12 @@ uint16_t CONFIG_callback()
|
||||
if(CONFIG_SerialRX_val[1]==0xAA)
|
||||
{
|
||||
debugln("Format EE");
|
||||
EEPROM.format();
|
||||
#if defined(STM32_BOARD)
|
||||
EEPROM.format();
|
||||
#else
|
||||
for (uint16_t i = 0; i < 512; i++)
|
||||
EEPROM.write(i, 0xFF);
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user