You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In function SNTP_run of sntp.c, the NTP query is only resent if ((ntp_retry_cnt % 0xFFF) == 0). However, as is, the code only increments ntp_retry_cnt when it is zero. This means that the NTP query is never sent more than once (retry mechanism isn't working).
A possible solution would be to move the ntp_retry_cnt increment above of the 'if((ntp_retry_cnt % 0xFFF) == 0)' block. When I tried this, the retry mechanism worked.
The text was updated successfully, but these errors were encountered:
In function SNTP_run of sntp.c, the NTP query is only resent if ((ntp_retry_cnt % 0xFFF) == 0). However, as is, the code only increments ntp_retry_cnt when it is zero. This means that the NTP query is never sent more than once (retry mechanism isn't working).
A possible solution would be to move the ntp_retry_cnt increment above of the 'if((ntp_retry_cnt % 0xFFF) == 0)' block. When I tried this, the retry mechanism worked.
The text was updated successfully, but these errors were encountered: