Allow pin overrides on splits

This commit is contained in:
Kyle Brown committed 2020-11-13 23:27:48 -08:00
1 parent 999a9507b5
commit 659201439f
3 files changed
+10 -4

No files matched your search

+4
View File
@@ -89,6 +89,10 @@ class Split(Module):
name = str(getmount('/').label)
if self.split_type == SplitType.BLE:
self._ble.name = name
else:
# Try to guess data pins if not supplied
if not self.data_pin:
self.data_pin = keyboard.data_pin
# Detect split side from name
if self.split_side is None: