mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-22 18:26:30 +00:00
Clear settings if unable to convert
This commit is contained in:
parent
40e70d7938
commit
83f78f8724
@ -1201,6 +1201,10 @@ void SettingsDelta(void)
|
|||||||
// SettingsUpdateText(SET_FRIENDLYNAME3, Settings.ex_friendlyname[2]);
|
// SettingsUpdateText(SET_FRIENDLYNAME3, Settings.ex_friendlyname[2]);
|
||||||
// SettingsUpdateText(SET_FRIENDLYNAME4, Settings.ex_friendlyname[3]);
|
// SettingsUpdateText(SET_FRIENDLYNAME4, Settings.ex_friendlyname[3]);
|
||||||
}
|
}
|
||||||
|
#else // UPGRADE_V8_MIN
|
||||||
|
if (Settings.version < 0x08000000) {
|
||||||
|
SettingsDefault();
|
||||||
|
}
|
||||||
#endif // UPGRADE_V8_MIN
|
#endif // UPGRADE_V8_MIN
|
||||||
if (Settings.version < 0x08020003) {
|
if (Settings.version < 0x08020003) {
|
||||||
SettingsUpdateText(SET_TEMPLATE_NAME, Settings.user_template_name);
|
SettingsUpdateText(SET_TEMPLATE_NAME, Settings.user_template_name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user