mirror of
git://soft.sys114.com/klipper
synced 2026-02-10 18:28:11 +09:00
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>
29 KiB
29 KiB