config
This commit is contained in:
@ -140,7 +140,7 @@ static void wizSNTPHandler(void *handle) {
|
||||
coloredMsg(LOG_BLUE, "wizsh, about to call SNTP");
|
||||
|
||||
uint8_t ntpServer[4];
|
||||
if (wizDnsQuery(NTP_SERVER, ntpServer)) {
|
||||
if (wizDnsQuery(config->ntpServer, ntpServer)) {
|
||||
SNTP_init(SNTP_SOCK, ntpServer, 0, sntpBuffer);
|
||||
bool updated = false;
|
||||
for (uint8_t i = 0; i < 16; i++) {
|
||||
|
Reference in New Issue
Block a user