klipper/klippy/chelper
Kevin O'Connor 867d73f0b8 serialqueue: Make 31-bit clock overflow check a little more robust
Allow reqclock to be slightly less than the transmitted messages's
deadline.  That is, delay messages with a reqclock far in the future
to slightly past (1<<31) ticks from its deadline.  Use (3<<29)
instead, which gives an additional (1<<29) grace period to avoid clock
overflows.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-12-14 15:55:57 -05:00
..
__init__.py stepcompress: Remove stepcompress_queue_msg() 2025-09-24 15:07:25 -04:00
compiler.h chelper: Add compiler.h header 2018-06-20 09:26:10 -04:00
itersolve.c itersolve: Don't call trapq_check_sentinels() from itersolve_generate_steps() 2025-09-24 18:58:31 -04:00
itersolve.h motion_queuing: Automatically detect changes to kin_flush_delay 2025-09-03 12:00:31 -04:00
kin_cartesian.c idex_modes: COPY and MIRROR mode implementation (#6297) 2023-08-01 12:23:52 -04:00
kin_corexy.c corexy: Convert step generation to use trapq system 2019-11-06 15:51:51 -05:00
kin_corexz.c corexz: Add CoreXZ kinematics (#3129) 2020-07-30 12:42:23 -04:00
kin_delta.c delta: Convert step generation to use trapq system 2019-11-06 15:51:51 -05:00
kin_deltesian.c kinematics: Add deltesian printers (#5743) 2022-09-01 15:56:31 -04:00
kin_extruder.c extruder: Allow dynamic adjustment of pressure advance (#6635) 2024-07-11 14:43:21 -04:00
kin_generic.c kinematics: Generic Cartesian kinematics implementation (#6815) 2025-05-06 18:06:36 -04:00
kin_idex.c kinematics: Generic Cartesian kinematics implementation (#6815) 2025-05-06 18:06:36 -04:00
kin_polar.c polar: Convert step generation to use trapq system 2019-11-06 15:51:51 -05:00
kin_rotary_delta.c rotary_delta: Initial support for rotary delta kinematics 2020-01-06 11:52:42 -05:00
kin_shaper.c input_shaper: Fixed initialization for dual_carriage 2025-10-06 15:41:22 -04:00
kin_winch.c winch: Convert step generation to use trapq system 2019-11-06 15:51:51 -05:00
list.h trapq: Extend trapq_extract_old() to also check active moves 2025-10-09 13:22:32 -04:00
msgblock.c msgblock: Add new clock_fill() function 2025-09-24 14:51:34 -04:00
msgblock.h msgblock: Add new clock_fill() function 2025-09-24 14:51:34 -04:00
pollreactor.c pollreactor: Move C pollreactor code from serialqueue.c to its own file 2021-06-09 18:58:35 -04:00
pollreactor.h pollreactor: Move C pollreactor code from serialqueue.c to its own file 2021-06-09 18:58:35 -04:00
pyhelper.c pyhelper: drop linux/prctl header for compability with musl 2025-09-03 11:44:10 -04:00
pyhelper.h pyhelper: define set_thread_name() helper 2025-08-01 12:42:53 -04:00
serialqueue.c serialqueue: Make 31-bit clock overflow check a little more robust 2025-12-14 15:55:57 -05:00
serialqueue.h serialqueue: name the threads per mcu 2025-08-01 12:42:53 -04:00
stepcompress.c stepcompress: Remove stepcompress_queue_msg() 2025-09-24 15:07:25 -04:00
stepcompress.h stepcompress: Remove stepcompress_queue_msg() 2025-09-24 15:07:25 -04:00
steppersync.c itersolve: Don't call trapq_check_sentinels() from itersolve_generate_steps() 2025-09-24 18:58:31 -04:00
steppersync.h steppersync: Move step generation thread from stepcompress.c to steppersync.c 2025-09-24 15:07:25 -04:00
trapq.c trapq: Extend trapq_extract_old() to also check active moves 2025-10-09 13:22:32 -04:00
trapq.h toolhead: Keep stepcompress move history relative to current time (#6439) 2023-12-30 11:34:21 -05:00
trdispatch.c trdispatch: Support fast responses to trsync_state messages 2021-06-09 18:58:35 -04:00