aboutsummaryrefslogtreecommitdiffstats
path: root/src/sensor_mpu9250.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2023-12-17 16:30:11 -0500
committerKevin O'Connor <kevin@koconnor.net>2024-01-07 11:59:55 -0500
commit1a1568c38b7b4e9bd5358eb0125d54652789d4aa (patch)
tree040e73f567acb54916a17b2cdfcb7cc4cb928eec /src/sensor_mpu9250.c
parentb50d6669a8b491edf07602c0528d26abe8985536 (diff)
downloadkutter-1a1568c38b7b4e9bd5358eb0125d54652789d4aa.tar.gz
kutter-1a1568c38b7b4e9bd5358eb0125d54652789d4aa.tar.xz
kutter-1a1568c38b7b4e9bd5358eb0125d54652789d4aa.zip
mpu9250: Fix incorrect use of time.sleep()
It is not valid to call time.sleep() in the host python code (it could causes glitches in other processing, and it does not ensure there is a pause between operations on the mcu). Use minclock instead of time.sleep() to ensure there is a sufficient pause during chip startup. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sensor_mpu9250.c')
0 files changed, 0 insertions, 0 deletions