diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-05-31 18:18:23 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-05-31 18:20:30 -0400 |
commit | ff9543eee2c41befe5945ec7a60d102d03026472 (patch) | |
tree | 2757b897a494aa92c6fa7799fe177e09477e9c73 /src | |
parent | 1b1d2adb31122648d8ba28fdbef9f4d2044cc5f5 (diff) | |
download | kutter-ff9543eee2c41befe5945ec7a60d102d03026472.tar.gz kutter-ff9543eee2c41befe5945ec7a60d102d03026472.tar.xz kutter-ff9543eee2c41befe5945ec7a60d102d03026472.zip |
clocksync: Simplify is_active() check
In some rare circumstances it was possible for the host software to
become so busy that it does not transmit a get_clock request for
several seconds. (In particular, this could occur with some complex
calls to coordinate_descent.) If that happened, it was possible for
the code to incorrectly report a "Timeout with MCU" error. Rework the
is_active() check to prevent that.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions