mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
HAL_ChibiOS: fixed output pins on F100 iomcu
This commit is contained in:
parent
6ec87528db
commit
c622a4c4d6
@ -177,7 +177,10 @@ class generic_pin(object):
|
|||||||
self.type = type
|
self.type = type
|
||||||
self.extra = extra
|
self.extra = extra
|
||||||
self.af = None
|
self.af = None
|
||||||
self.sig_dir = 'INPUT'
|
if type == 'OUTPUT':
|
||||||
|
self.sig_dir = 'OUTPUT'
|
||||||
|
else:
|
||||||
|
self.sig_dir = 'INPUT'
|
||||||
if mcu_series == "STM32F100" and self.label is not None:
|
if mcu_series == "STM32F100" and self.label is not None:
|
||||||
self.f1_pin_setup()
|
self.f1_pin_setup()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user