mirror of https://github.com/arendst/Tasmota.git
Fix ledlink blink when no network connected
Fix ledlink blink when no network connected regression from 8.3.1.4 (#9292)
This commit is contained in:
parent
284b68b215
commit
677bb85ecd
|
@ -68,6 +68,7 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota
|
|||
- Change A4988 optional microstep pin selection
|
||||
- Change pulsetime to allow use for all relays with 8 interleaved so ``Pulsetime1`` is valid for Relay1, Relay9, Relay17 etc. (#9279)
|
||||
- Fix template conversion when GPIO17 is 0
|
||||
- Fix ledlink blink when no network connected regression from 8.3.1.4 (#9292)
|
||||
- Add optional support for Mitsubishi Electric HVAC by David Gwynne (#9237)
|
||||
- Add optional support for Orno WE517-Modbus energy meter by Maxime Vincent (#9353)
|
||||
- Add SDM630 three phase ImportActive Energy display when ``#define SDM630_IMPORT`` is enabled by Janusz Kostorz (#9124)
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
- Change A4988 optional microstep pin selection
|
||||
- Change pulsetime to allow use for all relays with 8 interleaved so ``Pulsetime1`` is valid for Relay1, Relay9, Relay17 etc. (#9279)
|
||||
- Fix template conversion when GPIO17 is 0
|
||||
- Fix ledlink blink when no network connected regression from 8.3.1.4 (#9292)
|
||||
- Add optional support for Mitsubishi Electric HVAC by David Gwynne (#9237)
|
||||
- Add optional support for Orno WE517-Modbus energy meter by Maxime Vincent (#9353)
|
||||
- Add SDM630 three phase ImportActive Energy display when ``#define SDM630_IMPORT`` is enabled by Janusz Kostorz (#9124)
|
||||
|
|
|
@ -921,10 +921,10 @@ void Every250mSeconds(void)
|
|||
state_250mS++;
|
||||
state_250mS &= 0x3;
|
||||
|
||||
global_state.network_down = (global_state.wifi_down && global_state.eth_down);
|
||||
global_state.network_down = (global_state.wifi_down && global_state.eth_down) ? 1 : 0;
|
||||
|
||||
if (!Settings.flag.global_state && !global_state.network_down) { // SetOption31 - Control link led blinking
|
||||
if (global_state.data &0x03) { // Any problem
|
||||
if (!Settings.flag.global_state) { // SetOption31 - Control link led blinking
|
||||
if (global_state.data &0x03) { // Network or MQTT problem
|
||||
if (global_state.mqtt_down) { blinkinterval = 7; } // MQTT problem so blink every 2 seconds (slowest)
|
||||
if (global_state.network_down) { blinkinterval = 3; } // Network problem so blink every second (slow)
|
||||
blinks = 201; // Allow only a single blink in case the problem is solved
|
||||
|
|
Loading…
Reference in New Issue