diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-03-12 20:51:11 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-03-12 20:51:11 -0500 |
commit | 9572ad43274b68348b250f5a703b1f7c2e77545f (patch) | |
tree | 63b97498cfa26510591e98c3c1d1481decdca559 /klippy/chelper/serialqueue.h | |
parent | 11b9b72b4171e54598ff6de5fb31195efa710421 (diff) | |
download | kutter-9572ad43274b68348b250f5a703b1f7c2e77545f.tar.gz kutter-9572ad43274b68348b250f5a703b1f7c2e77545f.tar.xz kutter-9572ad43274b68348b250f5a703b1f7c2e77545f.zip |
tmc_uart: Limit to only one active uart at a time on an mcu
The tmcuart_send command increases cpu usage on the micro-controller.
Should multiple tmcuart_send commands be issued at the same time to a
single AVR micro-controller, it could increase the load to the point
that it introduces a failure. It could also lead to tmcuart_send
transmission errors, which would cause retransmission requests, which
further increase the load.
Track and share mutexes so that only one tmcuart_send command can be
active on a single mcu at a time.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/serialqueue.h')
0 files changed, 0 insertions, 0 deletions