mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 18:28:15 +00:00
Multi Config: eeprom format for atmega
This commit is contained in:
parent
d0db7829e5
commit
24fbd44f5b
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user