This commit is contained in:
2021-02-28 21:00:50 +01:00
parent 0cb99a4854
commit 45d5f8af9b
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ void my_setup_2() {
networkInit();
counterInit();
// counterInit();
logMsg("Application running");
}

View File

@ -137,7 +137,7 @@ uint64_t networkSntpQuery() {
if (sntpEngineHandle.sntpState == SNTP_STATE_IDLE) {
coloredMsg(LOG_BLUE, "nsq, start sntp request");
sntpEngineHandle.sntpState = SNTP_STATE_SEND;
sntpEngineHandle.sntpState = SNTP_STATE_START;
schAdd(networkSntpEngine, (void*) &sntpEngineHandle, 1, 0);
} else if (sntpEngineHandle.sntpState == SNTP_STATE_DONE) {
coloredMsg(LOG_BLUE, "nsq, start sntp done");