mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 03:36:42 +00:00
Respond correctly to the time request from the MCU using the TuyaMCU protocol.
This commit is contained in:
parent
6b16745cf0
commit
8a46dcf767
@ -948,7 +948,11 @@ void TuyaNormalPowerModePacketProcess(void)
|
|||||||
}
|
}
|
||||||
TuyaRequestState(0);
|
TuyaRequestState(0);
|
||||||
break;
|
break;
|
||||||
|
#ifdef USE_TUYA_TIME
|
||||||
|
case TUYA_CMD_SET_TIME:
|
||||||
|
TuyaSetTime();
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
AddLog_P(LOG_LEVEL_DEBUG, PSTR("TYA: RX unknown command"));
|
AddLog_P(LOG_LEVEL_DEBUG, PSTR("TYA: RX unknown command"));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user