changes from black

This commit is contained in:
Patrick McQuay authored and Kyle Brown committed 2022-02-05 18:00:03 -08:00
1 parent be2bbce21a
commit fa0062326b
1 file changed
+4 -1
+4 -1
View File
@@ -92,7 +92,10 @@ class Split(Module):
self._is_target = not bool(self.split_target_left)
else:
# Detect split side from name
if self.split_type == SplitType.UART or self.split_type == SplitType.ONEWIRE:
if (
self.split_type == SplitType.UART
or self.split_type == SplitType.ONEWIRE
):
self._is_target = runtime.usb_connected
elif self.split_type == SplitType.BLE:
self._is_target = bool(self.split_target_left)