HAL_ChibiOS: fixed output pins on F100 iomcu

This commit is contained in:
Andrew Tridgell 2018-10-17 16:45:37 +11:00
parent 6ec87528db
commit c622a4c4d6

View File

@ -177,6 +177,9 @@ class generic_pin(object):
self.type = type
self.extra = extra
self.af = None
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()