fix
This commit is contained in:
@ -46,7 +46,7 @@ void my_setup_2() {
|
||||
|
||||
networkInit();
|
||||
|
||||
counterInit();
|
||||
// counterInit();
|
||||
|
||||
logMsg("Application running");
|
||||
}
|
||||
|
@ -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");
|
||||
|
Reference in New Issue
Block a user