tuya: wifi-state switch debug-arguments

This commit is contained in:
Joel Stein 2018-10-30 01:11:08 +01:00
parent ccd10e151f
commit 4a03b1c2cd
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ void TuyaSetWifiLed(){
break; break;
} }
snprintf_P(log_data, sizeof(log_data), "TYA: Set WiFi LED to state %d (%d)", WifiState(), wifi_state); snprintf_P(log_data, sizeof(log_data), "TYA: Set WiFi LED to state %d (%d)", wifi_state, WifiState());
AddLog(LOG_LEVEL_DEBUG); AddLog(LOG_LEVEL_DEBUG);
TuyaSerial->write((uint8_t)0x55); // header 55AA TuyaSerial->write((uint8_t)0x55); // header 55AA