Browse Source

HAL_ChibiOS: fixed output pins on F100 iomcu

master
Andrew Tridgell 6 years ago
parent
commit
c622a4c4d6
  1. 5
      libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py

5
libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py

@ -177,7 +177,10 @@ class generic_pin(object): @@ -177,7 +177,10 @@ class generic_pin(object):
self.type = type
self.extra = extra
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:
self.f1_pin_setup()

Loading…
Cancel
Save