Allows continuation of firmware if bluetooth can't be imported
This commit is contained in:
parent
fba97fc364
commit
e225d8b1d6
@ -7,7 +7,12 @@ import busio
|
||||
import gc
|
||||
|
||||
from kmk import led, rgb
|
||||
|
||||
try:
|
||||
from kmk.ble import BLEHID
|
||||
except ImportError:
|
||||
print('Bluetooth is unsupported ')
|
||||
|
||||
from kmk.consts import KMK_RELEASE, LeaderMode, UnicodeMode
|
||||
from kmk.hid import USBHID, AbstractHID, HIDModes
|
||||
from kmk.internal_state import InternalState
|
||||
|
Loading…
x
Reference in New Issue
Block a user