time sync fixup time
This commit is contained in:
		
							parent
							
								
									478502377a
								
							
						
					
					
						commit
						332ac66517
					
				@ -8,7 +8,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
//#define TIME_SYNC_TRIGGER 100 // threshold for time sync [milliseconds]
 | 
					//#define TIME_SYNC_TRIGGER 100 // threshold for time sync [milliseconds]
 | 
				
			||||||
#define TIME_SYNC_FRAME_LENGTH 0x05 // timeserver answer frame length [bytes]
 | 
					#define TIME_SYNC_FRAME_LENGTH 0x05 // timeserver answer frame length [bytes]
 | 
				
			||||||
#define TIME_SYNC_FIXUP 6 // calibration to fixup processing time [milliseconds]
 | 
					#define TIME_SYNC_FIXUP 4 // calibration to fixup processing time [milliseconds]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void timesync_init(void);
 | 
					void timesync_init(void);
 | 
				
			||||||
void send_timesync_req(void);
 | 
					void send_timesync_req(void);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user