File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ constexpr auto DEFAULT_NTP_TIMEOUT = 1500; ///< @brief Default NTP timeout ms
49
49
constexpr auto MIN_NTP_TIMEOUT = 100 ; // /< @brief Minumum admisible ntp timeout in ms
50
50
constexpr auto MIN_NTP_INTERVAL = 5 ; // /< @brief Minumum NTP request interval in seconds
51
51
constexpr auto DEFAULT_MIN_SYNC_ACCURACY_US = 5000 ; // /< @brief Minimum sync accuracy in us
52
- constexpr auto DEFAULT_MAX_RESYNC_RETRY = 4 ; // /< @brief Maximum number of sync retrials if offset is above accuravy
52
+ constexpr auto DEFAULT_MAX_RESYNC_RETRY = 3 ; // /< @brief Maximum number of sync retrials if offset is above accuravy
53
53
#ifdef ESP8266
54
54
constexpr auto ESP8266_LOOP_TASK_INTERVAL = 500 ; // /< @brief Loop task period on ESP8266
55
55
constexpr auto ESP8266_RECEIVER_TASK_INTERVAL = 100 ; // /< @brief Receiver task period on ESP8266
@@ -476,9 +476,9 @@ class NTPClient {
476
476
* @param maxRetry Max sync retrials number
477
477
*/
478
478
void setMaxNumSyncRetry (unsigned long maxRetry) {
479
- if (maxRetry > DEFAULT_MAX_RESYNC_RETRY) {
479
+ // if (maxRetry > DEFAULT_MAX_RESYNC_RETRY) {
480
480
maxNumSyncRetry = maxRetry;
481
- }
481
+ // }
482
482
}
483
483
484
484
/* *
You can’t perform that action at this time.
0 commit comments