mirror of https://github.com/arendst/Tasmota.git
Fix Improv initial or erase device installation
Fix Improv initial or erase device installation failing to provide Configure WiFi option
This commit is contained in:
parent
be18aaae18
commit
3f4f519e5c
|
@ -5,10 +5,14 @@ All notable changes to this project will be documented in this file.
|
|||
|
||||
## [11.1.0.1]
|
||||
### Added
|
||||
- Support for Sonoff MS01 soil moisture sensor (#15335)
|
||||
- Support for daisy chaining MAX7219 displays (#15345)
|
||||
|
||||
### Changed
|
||||
|
||||
### Fixed
|
||||
- SCD40 start low power command (#15361)
|
||||
- Improv initial or erase device installation failing to provide Configure WiFi option
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
@ -106,11 +106,15 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo
|
|||
|
||||
## Changelog v11.1.0.1
|
||||
### Added
|
||||
- Support for Sonoff MS01 soil moisture sensor [#15335](https://github.com/arendst/Tasmota/issues/15335)
|
||||
- Support for daisy chaining MAX7219 displays [#15345](https://github.com/arendst/Tasmota/issues/15345)
|
||||
|
||||
### Breaking Changed
|
||||
|
||||
### Changed
|
||||
|
||||
### Fixed
|
||||
- SCD40 start low power command [#15361](https://github.com/arendst/Tasmota/issues/15361)
|
||||
- Improv initial or erase device installation failing to provide Configure WiFi option
|
||||
|
||||
### Removed
|
||||
|
|
|
@ -325,7 +325,8 @@ void ImprovEverySecond(void) {
|
|||
}
|
||||
|
||||
void ImprovInit(void) {
|
||||
if (!RtcSettings.improv_state) {
|
||||
if (!RtcSettings.improv_state || // After power on
|
||||
!Settings->bootcount) { // After reset to defaults caused by GUI option ERASE
|
||||
RtcSettings.improv_state = IMPROV_STATE_AUTHORIZED; // Power on state (persistent during restarts)
|
||||
}
|
||||
Improv.wifi_timeout = IMPROV_WIFI_TIMEOUT; // Try to update state after restart
|
||||
|
|
Loading…
Reference in New Issue