mirror of https://github.com/arendst/Tasmota.git
Update changelog
This commit is contained in:
parent
5871ceaa1d
commit
4d83b54fda
|
@ -27,6 +27,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Force initial default state ``SetOption57 1`` to scan wifi network every 44 minutes for strongest signal (#10395)
|
||||
- Command ``Sleep 0`` removes any sleep from wifi modem except when ESP32 BLE is active
|
||||
- PubSubClient MQTT_SOCKET_TIMEOUT from 15 to 4 seconds
|
||||
- Domoticz fixed 2 decimals resolution by user selectable ``TempRes``, ``HumRes`` and ``PressRes`` resolutions
|
||||
|
||||
## [9.2.0.2] 20210105
|
||||
### Added
|
||||
|
|
|
@ -107,6 +107,7 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota
|
|||
- Disabled ``USE_LIGHT`` light support for ZBBridge saving 17.6kB [#10374](https://github.com/arendst/Tasmota/issues/10374)
|
||||
- Force initial default state ``SetOption57 1`` to scan wifi network every 44 minutes for strongest signal [#10395](https://github.com/arendst/Tasmota/issues/10395)
|
||||
- PubSubClient MQTT_SOCKET_TIMEOUT from 15 to 4 seconds
|
||||
- Domoticz fixed 2 decimals resolution by user selectable ``TempRes``, ``HumRes`` and ``PressRes`` resolutions
|
||||
|
||||
### Fixed
|
||||
- Redesign syslog and mqttlog using log buffer [#10164](https://github.com/arendst/Tasmota/issues/10164)
|
||||
|
|
|
@ -508,13 +508,13 @@ void SettingsSave(uint8_t rotate)
|
|||
#ifndef FIRMWARE_MINIMAL
|
||||
UpdateBackwardCompatibility();
|
||||
if ((GetSettingsCrc32() != settings_crc32) || rotate) {
|
||||
if (1 == rotate) { // Use eeprom flash slot only and disable flash rotate from now on (upgrade)
|
||||
if (1 == rotate) { // Use eeprom flash slot only and disable flash rotate from now on (upgrade)
|
||||
TasmotaGlobal.stop_flash_rotate = 1;
|
||||
}
|
||||
if (2 == rotate) { // Use eeprom flash slot and erase next flash slots if stop_flash_rotate is off (default)
|
||||
settings_location = FLASH_EEPROM_START + 1;
|
||||
if (2 == rotate) { // Use eeprom flash slot and erase next flash slots if stop_flash_rotate is off (default)
|
||||
settings_location = FLASH_EEPROM_START +1; // Decremented to correct location by settings_location--; just below
|
||||
}
|
||||
if (TasmotaGlobal.stop_flash_rotate) {
|
||||
if (TasmotaGlobal.stop_flash_rotate) { // SetOption12 - (Settings) Switch between dynamic (0) or fixed (1) slot flash save location
|
||||
settings_location = FLASH_EEPROM_START;
|
||||
} else {
|
||||
if (settings_location == FLASH_EEPROM_START) {
|
||||
|
@ -534,7 +534,7 @@ void SettingsSave(uint8_t rotate)
|
|||
Settings.cfg_timestamp++;
|
||||
}
|
||||
Settings.cfg_size = sizeof(Settings);
|
||||
Settings.cfg_crc = GetSettingsCrc(); // Keep for backward compatibility in case of fall-back just after upgrade
|
||||
Settings.cfg_crc = GetSettingsCrc(); // Keep for backward compatibility in case of fall-back just after upgrade
|
||||
Settings.cfg_crc32 = GetSettingsCrc32();
|
||||
|
||||
#ifdef ESP8266
|
||||
|
@ -545,9 +545,9 @@ void SettingsSave(uint8_t rotate)
|
|||
ESP.flashWrite(settings_location * SPI_FLASH_SEC_SIZE, (uint32*)&Settings, sizeof(Settings));
|
||||
}
|
||||
|
||||
if (!TasmotaGlobal.stop_flash_rotate && rotate) {
|
||||
if (!TasmotaGlobal.stop_flash_rotate && rotate) { // SetOption12 - (Settings) Switch between dynamic (0) or fixed (1) slot flash save location
|
||||
for (uint32_t i = 0; i < CFG_ROTATES; i++) {
|
||||
ESP.flashEraseSector(SETTINGS_LOCATION -i); // Delete previous configurations by resetting to 0xFF
|
||||
ESP.flashEraseSector(SETTINGS_LOCATION -i); // Delete previous configurations by resetting to 0xFF
|
||||
delay(1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue