timesync TIME_SYNC_FIXUP

This commit is contained in:
Verkehrsrot committed 2019-03-17 22:00:42 +01:00
1 parent cd67cb2335
commit 5cb875bcfc
2 files changed
+6 -3

No files matched your search

+1
View File
@@ -11,6 +11,7 @@
#define TIME_SYNC_TIMEOUT 120 // timeout seconds waiting for timeserver answer
#define TIME_SYNC_TRIGGER 100 // time deviation in millisec triggering a sync
#define TIME_SYNC_FRAME_LENGTH 0x06 // timeserver answer frame length
#define TIME_SYNC_FIXUP 0 // calibration millisec to fixup processing time
void send_timesync_req(void);
int recv_timesync_ans(uint8_t buf[], uint8_t buf_len);