From 83f78f8724dd7841ebba59fcdf334c6f286bba08 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Tue, 1 Dec 2020 08:48:06 +0100 Subject: [PATCH] Clear settings if unable to convert --- tasmota/settings.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasmota/settings.ino b/tasmota/settings.ino index 45f26e8a5..8e96e8459 100644 --- a/tasmota/settings.ino +++ b/tasmota/settings.ino @@ -1201,6 +1201,10 @@ void SettingsDelta(void) // SettingsUpdateText(SET_FRIENDLYNAME3, Settings.ex_friendlyname[2]); // SettingsUpdateText(SET_FRIENDLYNAME4, Settings.ex_friendlyname[3]); } +#else // UPGRADE_V8_MIN + if (Settings.version < 0x08000000) { + SettingsDefault(); + } #endif // UPGRADE_V8_MIN if (Settings.version < 0x08020003) { SettingsUpdateText(SET_TEMPLATE_NAME, Settings.user_template_name);