Skip to content

Commit 2d16f21

Browse files
projectgusdpgeorge
authored andcommitted
lsm6dsox: Add missing time import.
Driver calls time.sleep_ms() in one place. Found by Ruff checking F821. Signed-off-by: Angus Gratton <[email protected]>
1 parent 86050c3 commit 2d16f21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

micropython/drivers/imu/lsm6dsox/lsm6dsox.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646

4747
import array
4848
from micropython import const
49+
import time
4950

5051
_CTRL3_C = const(0x12)
5152
_CTRL1_XL = const(0x10)

0 commit comments

Comments
 (0)