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 <angus@redyak.com.au>
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy