all: Add missing imports for micropython.const.
Found by Ruff checking F821. Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
committed by
Damien George
parent
ef864a4aa4
commit
801910fc83
@@ -19,6 +19,7 @@
|
||||
# disp = SSD1306_I2C_Mod(128, 64, i2c)
|
||||
|
||||
from ssd1306 import SSD1306_I2C
|
||||
from micropython import const
|
||||
|
||||
SET_COL_ADDR = const(0x21)
|
||||
SET_PAGE_ADDR = const(0x22)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from micropython import const
|
||||
from ubluepy import Peripheral, constants
|
||||
|
||||
BLE_GAP_ADV_FLAG_LE_GENERAL_DISC_MODE = const(0x02)
|
||||
|
||||
Reference in New Issue
Block a user