Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information