diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2023-12-17 16:19:21 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-01-07 11:59:59 -0500 |
commit | 49315b3cc40443be08e1f1c77a656fc103337a33 (patch) | |
tree | 021e01b986c9caa829c1a01be45d5ac3e1c880f9 /src/debugcmds.c | |
parent | 1a1568c38b7b4e9bd5358eb0125d54652789d4aa (diff) | |
download | kutter-49315b3cc40443be08e1f1c77a656fc103337a33.tar.gz kutter-49315b3cc40443be08e1f1c77a656fc103337a33.tar.xz kutter-49315b3cc40443be08e1f1c77a656fc103337a33.zip |
sensor_mpu9250: Fix timing in command_query_mpu9250_status()
Commit 80a7744b optimized the fifo tracking code. However, it
introduced an error in the time tracking in
command_query_mpu9250_status(). The purpose of that function is to
provide a precise timestamp of the total number of messages produced
at the time of that call. Thus, the returned fifo value needs to be
the fifo level in the chip at the time of the call (not the value read
during previous checks).
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/debugcmds.c')
0 files changed, 0 insertions, 0 deletions