klipper-dgus/klippy
Kevin O'Connor 6d6638826c stepcompress: Fix proactive queue flushing on move with 64K+ steps
Commit e05c6354 changed the internal step compress queue from 64bit
integers to 32bit integers.  However, that commit broke the proactive
flushing of moves that could produce more than 64K steps.  This could
lead to large memory allocations and cpu slow downs on printers that
had a very large Z axis - possibly leading to a "Timer too close" mcu
shutdown.  Correct the code so that it properly generates a 64bit
flush clock.

Also, be sure to only expand / memmove the queue when there is no room
for a new element at the end.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2017-11-29 20:24:50 -05:00
..
cartesian.py stepper: Support for multiple steppers controlling a single axis 2017-11-18 17:37:04 -05:00
chelper.py klippy: Avoid using '%' syntax when calling logging module 2017-09-27 12:38:20 -04:00
chipmisc.py pca9685: Support default values 2017-10-12 11:59:27 -04:00
clocksync.py clocksync: Start with adjusted_freq of 1.0 2017-10-13 21:07:32 -04:00
console.py clocksync: Move clock synchronization code into new file 2017-09-19 17:25:42 -04:00
corexy.py stepper: Support for multiple steppers controlling a single axis 2017-11-18 17:37:04 -05:00
delta.py stepper: Add get_endstops() / set_position wrappers 2017-11-18 17:36:45 -05:00
extruder.py stepper: Store pointers to step_const and step_delta in PrinterStepper 2017-11-18 17:29:23 -05:00
fan.py fan: Enable heater_fan objects on an MCU shutdown event 2017-10-12 11:59:27 -04:00
gcode.py klippy: Rework shutdown handling 2017-10-12 16:28:53 -04:00
heater.py heater: Avoid math errors on extreme ADC readings 2017-11-13 11:07:20 -05:00
homing.py homing: Base homing cpu delay on estimated number of steps needed 2017-11-29 19:55:25 -05:00
klippy.py klippy: Rework shutdown handling 2017-10-12 16:28:53 -04:00
list.h Initial commit of source code. 2016-05-25 11:37:40 -04:00
mcu.py stepper: Add get_endstops() / set_position wrappers 2017-11-18 17:36:45 -05:00
msgproto.py klippy: Avoid using '%' syntax when calling logging module 2017-09-27 12:38:20 -04:00
parsedump.py build: Request python2 for all directly executed python binaries 2017-06-27 20:26:02 -04:00
pins.py pins: Add pin mapping for atmega1284p 2017-10-05 16:57:44 -04:00
pyhelper.c pyhelper: Fix GETHEX() macro used in dump_string() debugging 2017-05-17 09:57:09 -04:00
pyhelper.h stepcompress: Modify check_expand() into check_push() 2017-04-07 19:05:04 -04:00
queuelogger.py queuelogger: Add critical information to each logfile on rollover 2017-05-01 14:48:44 -04:00
reactor.py reactor: Fix bug causing end() to not always work 2017-04-13 13:20:13 -04:00
serialhdl.py serialhdl: Don't open port at 1200 baud 2017-10-12 21:46:09 -04:00
serialqueue.c serialqueue: Don't report sent_time on responses that are retransmitted 2017-09-30 19:37:20 -04:00
serialqueue.h serialqueue: Rename clock estimation variable names 2017-06-30 20:15:36 -04:00
stepcompress.c stepcompress: Fix proactive queue flushing on move with 64K+ steps 2017-11-29 20:24:50 -05:00
stepper.py stepper: Support for multiple steppers controlling a single axis 2017-11-18 17:37:04 -05:00
toolhead.py homing: Base homing cpu delay on estimated number of steps needed 2017-11-29 19:55:25 -05:00
util.py klippy: Avoid using '%' syntax when calling logging module 2017-09-27 12:38:20 -04:00