mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-25 23:37:16 +00:00
Add extra recovery option when linker changed
This commit is contained in:
parent
c1d6d30cab
commit
120ba5cac2
@ -212,7 +212,9 @@ uint32_t settings_crc32 = 0;
|
|||||||
uint8_t *settings_buffer = nullptr;
|
uint8_t *settings_buffer = nullptr;
|
||||||
|
|
||||||
void SettingsInit(void) {
|
void SettingsInit(void) {
|
||||||
if (SETTINGS_LOCATION > 0xFA) { SETTINGS_LOCATION = 0xFA; } // Skip empty partition part
|
if (SETTINGS_LOCATION > 0xFA) {
|
||||||
|
SETTINGS_LOCATION = 0xFD; // Skip empty partition part
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/********************************************************************************************/
|
/********************************************************************************************/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user