klipper/klippy
Kevin O'Connor 03f69cd81a tmc: Query latest value during _init_registers()
The set_register() code may block, and it therefore may be possible
that the loop in _init_registers() could occur in parallel with other
updates.  That could result in a "OrderedDict mutated during
iteration" error.

Avoid the error by querying the latest value during each iteration of
the loop.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2023-11-28 21:24:41 -05:00
..
chelper stepcompress: Add support for queuing messages that consume move queue space 2023-11-16 22:07:15 -05:00
extras tmc: Query latest value during _init_registers() 2023-11-28 21:24:41 -05:00
kinematics Revert "toolhead: Use dict for step generation flush times. (#6303)" 2023-10-21 15:46:08 -04:00
clocksync.py msgblock: Add clock estimation helper functions 2021-06-09 18:58:35 -04:00
configfile.py configfile: Improve support for python3.12 2023-11-16 22:28:40 -05:00
console.py console: No need to import pins module 2023-01-07 12:00:16 -05:00
gcode.py gcode: Handle M117 and M118 commands that start with a special character 2022-01-18 11:34:40 -05:00
klippy.py util: report git version info as a dict 2023-05-04 14:07:14 -04:00
mathutil.py
mcu.py mcu: Enhance RetryAsyncCommand to handle low-level retransmits 2023-09-21 14:52:55 -04:00
msgproto.py mcu: Move lookup_command_tag() to CommandWrapper class 2023-02-22 11:34:36 -05:00
parsedump.py parsedump: Support running on both python2 and python3 2022-12-07 14:31:03 -05:00
pins.py pins: Improve pin description checks 2022-05-09 16:33:46 -04:00
queuelogger.py klippy: Add Python2 module wrappers and use Python3 module naming 2021-10-04 14:36:08 -04:00
reactor.py reactor: Fix typo 2023-03-14 22:08:13 -04:00
serialhdl.py klippy: Replace deprecated logger.warn with logger.warning (#6385) 2023-11-16 22:06:13 -05:00
stepper.py idex_modes: Native input shaping support with dual carriages 2023-06-06 20:17:49 -04:00
toolhead.py Revert "toolhead: Use dict for step generation flush times. (#6303)" 2023-10-21 15:46:08 -04:00
util.py util: report git version info as a dict 2023-05-04 14:07:14 -04:00
webhooks.py webhooks: Add process id, user id and group id to the info endpoint. (#6284) 2023-07-28 12:48:14 -04:00