Skip to content

Commit

Permalink
Fix failing downgrade (#7285)
Browse files Browse the repository at this point in the history
Fix failing downgrade (#7285)
  • Loading branch information
arendst committed Dec 22, 2019
1 parent 257f3d2 commit 4c7283c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ The following binary downloads have been compiled with ESP8266/Arduino library c
- Fix Arduino IDE compile error (#7277)
- Fix restore ShutterAccuracy, MqttLog, WifiConfig, WifiPower and SerialConfig (#7281)
- Fix no AP on initial install (#7282)
- Fix failing downgrade (#7285)
- Add command ``SerialConfig 0..23`` or ``SerialConfig 8N1`` to select Serial Config based in PR by Luis Teixeira (#7108)
- Add command ``Sensor34 9 <weight code>`` to set minimum delta to trigger JSON message by @tobox (#7188)
- Add rule var ``%topic%`` by Adrian Scillato (#5522)
Expand Down
1 change: 1 addition & 0 deletions tasmota/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Fix Arduino IDE compile error (#7277)
- Fix restore ShutterAccuracy, MqttLog, WifiConfig, WifiPower and SerialConfig (#7281)
- Fix no AP on initial install (#7282)
- Fix failing downgrade (#7285)

### 7.1.2.6 20191214

Expand Down
4 changes: 2 additions & 2 deletions tasmota/settings.ino
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ void UpdateQuickPowerCycle(bool update)
char aws_mqtt_host[66];
char aws_mqtt_user[1] { 0 };

const uint32_t settings_text_size = 457; // Settings.flag4 (1E0) - Settings.ota_url (017)
const uint32_t settings_text_size = 699; // Settings.display_model (2D2) - Settings.ota_url (017)

uint32_t GetSettingsTextLen(void)
{
Expand Down Expand Up @@ -1367,7 +1367,7 @@ void SettingsDelta(void)
Settings.ex_energy_power_delta = 0;
}
if (Settings.version < 0x06060015) {
if ((EX_WIFI_SMARTCONFIG == Settings.sta_config) || (EX_WIFI_WPSCONFIG == Settings.sta_config)) {
if ((EX_WIFI_SMARTCONFIG == Settings.ex_sta_config) || (EX_WIFI_WPSCONFIG == Settings.ex_sta_config)) {
Settings.ex_sta_config = WIFI_MANAGER;
}
}
Expand Down
2 changes: 1 addition & 1 deletion tasmota/tasmota_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
const uint32_t VERSION = 0x07020000;

// Lowest compatible version
const uint32_t VERSION_COMPATIBLE = 0x06000000;
const uint32_t VERSION_COMPATIBLE = 0x00000000;

#endif // _TASMOTA_VERSION_H_

0 comments on commit 4c7283c

Please sign in to comment.