[split] cleanup: remove target_left (unused)
only split_target_left is used
This commit is contained in:
parent
bb2ddc1e33
commit
d2eba7b4ef
@ -35,11 +35,10 @@ split = Split(
|
|||||||
split_flip=True, # If both halves are the same, but flipped, set this True
|
split_flip=True, # If both halves are the same, but flipped, set this True
|
||||||
split_side=None, # Sets if this is to SplitSide.LEFT or SplitSide.RIGHT, or use EE hands
|
split_side=None, # Sets if this is to SplitSide.LEFT or SplitSide.RIGHT, or use EE hands
|
||||||
split_type=SplitType.UART, # Defaults to UART
|
split_type=SplitType.UART, # Defaults to UART
|
||||||
split_target_left=True, # If you want the right to be the target, change this to False
|
split_target_left=True, # Assumes that left will be the one on USB. Set to False if it will be the right
|
||||||
uart_interval=20, # Sets the uarts delay. Lower numbers draw more power
|
uart_interval=20, # Sets the uarts delay. Lower numbers draw more power
|
||||||
data_pin=None, # The primary data pin to talk to the secondary device with
|
data_pin=None, # The primary data pin to talk to the secondary device with
|
||||||
data_pin2=None, # Second uart pin to allow 2 way communication
|
data_pin2=None, # Second uart pin to allow 2 way communication
|
||||||
target_left=True, # Assumes that left will be the one on USB. Set to False if it will be the right
|
|
||||||
uart_flip=True, # Reverses the RX and TX pins if both are provided
|
uart_flip=True, # Reverses the RX and TX pins if both are provided
|
||||||
use_pio=False, # Use RP2040 PIO implementation of UART. Required if you want to use other pins than RX/TX
|
use_pio=False, # Use RP2040 PIO implementation of UART. Required if you want to use other pins than RX/TX
|
||||||
)
|
)
|
||||||
|
@ -35,7 +35,6 @@ class Split(Module):
|
|||||||
uart_interval=20,
|
uart_interval=20,
|
||||||
data_pin=None,
|
data_pin=None,
|
||||||
data_pin2=None,
|
data_pin2=None,
|
||||||
target_left=True,
|
|
||||||
uart_flip=True,
|
uart_flip=True,
|
||||||
use_pio=False,
|
use_pio=False,
|
||||||
debug_enabled=False,
|
debug_enabled=False,
|
||||||
@ -49,7 +48,6 @@ class Split(Module):
|
|||||||
self.split_offset = None
|
self.split_offset = None
|
||||||
self.data_pin = data_pin
|
self.data_pin = data_pin
|
||||||
self.data_pin2 = data_pin2
|
self.data_pin2 = data_pin2
|
||||||
self.target_left = target_left
|
|
||||||
self.uart_flip = uart_flip
|
self.uart_flip = uart_flip
|
||||||
self._use_pio = use_pio
|
self._use_pio = use_pio
|
||||||
self._uart = None
|
self._uart = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user