retry
This commit is contained in:
@ -60,6 +60,9 @@ void networkSntpEngine(void *handle) {
|
|||||||
default:
|
default:
|
||||||
coloredMsg(LOG_BLUE, "nes, unexpected state");
|
coloredMsg(LOG_BLUE, "nes, unexpected state");
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
coloredMsg(LOG_BLUE, "nes, no network yet, try again");
|
||||||
|
schAdd(networkSntpEngine, NULL, 100, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user