mirror of https://github.com/arendst/Tasmota.git
tuya: wifi-state: add default state
This commit is contained in:
parent
d8914906a8
commit
ccd10e151f
|
@ -235,12 +235,14 @@ void TuyaSetWifiLed(){
|
|||
case WIFI_WPSCONFIG:
|
||||
wifi_state = 0x01;
|
||||
break;
|
||||
case WIFI_WAIT:
|
||||
case WIFI_RETRY:
|
||||
wifi_state = 0x02;
|
||||
case WIFI_RESTART:
|
||||
wifi_state = 0x03;
|
||||
break;
|
||||
case WIFI_WAIT:
|
||||
case WIFI_RETRY:
|
||||
default:
|
||||
wifi_state = 0x02;
|
||||
break;
|
||||
}
|
||||
|
||||
snprintf_P(log_data, sizeof(log_data), "TYA: Set WiFi LED to state %d (%d)", WifiState(), wifi_state);
|
||||
|
|
Loading…
Reference in New Issue