Fix ESP32 compilation error

This commit is contained in:
Theo Arends 2020-10-10 16:49:36 +02:00
parent 70d49d210b
commit 89c690c05d
1 changed files with 1 additions and 1 deletions

View File

@ -730,6 +730,7 @@ void SettingsDefaultSet2(void)
SysBitfield5 flag5 = { 0 }; SysBitfield5 flag5 = { 0 };
#ifdef ESP8266 #ifdef ESP8266
Settings.gpio16_converted = 0xF5A0;
// Settings.config_version = 0; // ESP8266 (Has been 0 for long time) // Settings.config_version = 0; // ESP8266 (Has been 0 for long time)
#endif // ESP8266 #endif // ESP8266
#ifdef ESP32 #ifdef ESP32
@ -1088,7 +1089,6 @@ void SettingsDefaultSet2(void)
#ifdef USER_TEMPLATE #ifdef USER_TEMPLATE
JsonTemplate((char *)USER_TEMPLATE); JsonTemplate((char *)USER_TEMPLATE);
#endif #endif
Settings.gpio16_converted = 0xF5A0;
Settings.flag = flag; Settings.flag = flag;
Settings.flag2 = flag2; Settings.flag2 = flag2;