mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
HAL_ChibiOS: setup RTS pins as pullup
this prevents RTS pins from keeping SiK radios in bootloader mode on peripheral powerup
This commit is contained in:
parent
63a0a4979c
commit
11e09a846c
@ -245,7 +245,8 @@ class generic_pin(object):
|
||||
self.type.startswith('UART')) and (
|
||||
(self.label.endswith('_TX') or
|
||||
self.label.endswith('_RX') or
|
||||
self.label.endswith('_CTS'))):
|
||||
self.label.endswith('_CTS') or
|
||||
self.label.endswith('_RTS'))):
|
||||
# default RX/TX lines to pullup, to prevent spurious bytes
|
||||
# on disconnected ports. CTS is the exception, which is pulldown
|
||||
if self.label.endswith("CTS"):
|
||||
|
Loading…
Reference in New Issue
Block a user