Merge pull request #10428 from yvesdm3000/development

Respond correctly to the time request from the MCU
This commit is contained in:
Theo Arends 2021-01-06 16:28:16 +01:00 committed by GitHub
commit ad7c27a65e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -948,7 +948,11 @@ void TuyaNormalPowerModePacketProcess(void)
}
TuyaRequestState(0);
break;
#ifdef USE_TUYA_TIME
case TUYA_CMD_SET_TIME:
TuyaSetTime();
break;
#endif
default:
AddLog_P(LOG_LEVEL_DEBUG, PSTR("TYA: RX unknown command"));
}