mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 21:26:33 +00:00
tuya: remove default from switch, since wifi_state is already initialized to 0x02
This commit is contained in:
parent
faab6f1221
commit
9125823da3
@ -238,9 +238,6 @@ void TuyaSetWifiLed(){
|
|||||||
case WIFI_RESTART:
|
case WIFI_RESTART:
|
||||||
wifi_state = 0x03;
|
wifi_state = 0x03;
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
wifi_state = 0x02;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
snprintf_P(log_data, sizeof(log_data), "TYA: Set WiFi LED to state %d (%d)", wifi_state, WifiState());
|
snprintf_P(log_data, sizeof(log_data), "TYA: Set WiFi LED to state %d (%d)", wifi_state, WifiState());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user