chore: whatever it just took to get my PM2040 to boot

This commit is contained in:
Josh Klar authored and Kyle Brown committed 2021-07-09 11:21:00 -07:00
1 parent 270be1fa28
commit ab6aa1838c
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
from kb import KMKKeyboard, rgb_pixel_pin
from kb import KMKKeyboard
from kmk.extensions.rgb import RGB
from kmk.keys import KC
from kmk.modules.layers import Layers
@@ -7,7 +7,7 @@ from kmk.modules.split import Split, SplitSide, SplitType
keyboard = KMKKeyboard()
# Adding extensions
rgb = RGB(pixel_pin=rgb_pixel_pin, num_pixels=27, val_limit=100, hue_default=190, sat_default=100, val_default=5)
rgb = RGB(pixel_pin=keyboard.rgb_pixel_pin, num_pixels=27, val_limit=100, hue_default=190, sat_default=100, val_default=5)
# TODO Comment one of these on each side
split_side = SplitSide.LEFT
+1 -1
View File
@@ -64,7 +64,7 @@ class Split(Module):
self.UARTService = UARTService
except ImportError:
print('BLE Import error')
pass # BLE isn't supported on this platform
return # BLE isn't supported on this platform
self._ble = BLERadio()
self._ble_last_scan = ticks_ms() - 5000
self._connection_count = 0