mirror of https://github.com/arendst/Tasmota.git
Update settings.ino
This commit is contained in:
parent
a52d4c5208
commit
dd44163f3b
|
@ -1243,11 +1243,11 @@ void SettingsDelta(void)
|
|||
Settings.ex_serial_config = TS_SERIAL_8N1;
|
||||
}
|
||||
if (Settings.version < 0x07010204) {
|
||||
if (Settings.flag3.ex_cors_enabled == 1) {
|
||||
strlcpy(Settings.ex_cors_domain, CORS_ENABLED_ALL, sizeof(Settings.ex_cors_domain));
|
||||
} else {
|
||||
Settings.ex_cors_domain[0] = 0;
|
||||
}
|
||||
// if (Settings.flag3.ex_cors_enabled == 1) {
|
||||
// strlcpy(Settings.ex_cors_domain, CORS_ENABLED_ALL, sizeof(Settings.ex_cors_domain));
|
||||
// } else {
|
||||
// Settings.ex_cors_domain[0] = 0;
|
||||
// }
|
||||
}
|
||||
if (Settings.version < 0x07010205) {
|
||||
Settings.seriallog_level = Settings.ex_seriallog_level; // 09E -> 452
|
||||
|
|
Loading…
Reference in New Issue