mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-10-26 07:46:11 +01:00
clocksync: Respond faster to clock changes
Average clock sync times over approximately 30 seconds instead of 120 seconds so that the clock prediction responds to changes faster. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -7,7 +7,7 @@ import logging, threading, math
|
||||
|
||||
COMM_TIMEOUT = 3.5
|
||||
RTT_AGE = .000010 / (60. * 60.)
|
||||
DECAY = 1. / (2. * 60.)
|
||||
DECAY = 1. / 30.
|
||||
TRANSMIT_EXTRA = .001
|
||||
|
||||
class ClockSync:
|
||||
|
||||
Reference in New Issue
Block a user