mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: fixed pincount for F7
This commit is contained in:
parent
876899c48d
commit
4ad757b4d1
|
@ -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…
Reference in New Issue