Browse Source

HAL_ChibiOS: don't generate DMA channels for ALARM pin

master
Andrew Tridgell 7 years ago
parent
commit
95a261e061
  1. 2
      libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py

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

@ -930,7 +930,7 @@ def build_peripheral_list(): @@ -930,7 +930,7 @@ def build_peripheral_list():
if label[-1] == 'N':
label = label[:-1]
peripherals.append(label)
else:
elif not p.has_extra('ALARM'):
# get the TIMn_UP DMA channels for DShot
label = type + '_UP'
if not label in peripherals:

Loading…
Cancel
Save