Browse Source

HAL_ChibiOS: fixed pincount for F7

master
Andrew Tridgell 7 years ago
parent
commit
4ad757b4d1
  1. 1
      libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py

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

@ -94,6 +94,7 @@ def get_mcu_lib(mcu): @@ -94,6 +94,7 @@ def get_mcu_lib(mcu):
def setup_mcu_type_defaults():
'''setup defaults for given mcu type'''
global pincount
lib = get_mcu_lib(mcu_type)
if hasattr(lib, 'pincount'):
pincount = lib.pincount

Loading…
Cancel
Save