Allows continuation of firmware if bluetooth can't be imported

This commit is contained in:
Kyle Brown committed 2020-10-01 12:53:05 -07:00
1 parent fba97fc364
commit e225d8b1d6
1 file changed
+6 -1
+6 -1
View File
@@ -7,7 +7,12 @@ import busio
import gc
from kmk import led, rgb
from kmk.ble import BLEHID
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