mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
HAL_ChibiOS: add CAN to supported peripherals list
This commit is contained in:
parent
6f21c1583f
commit
77f8acd7a1
@ -88,7 +88,7 @@ def get_alt_function(mcu, pin, function):
|
||||
# we do software RTS
|
||||
return None
|
||||
|
||||
af_labels = ['USART', 'UART', 'SPI', 'I2C', 'SDIO', 'OTG', 'JT', 'TIM']
|
||||
af_labels = ['USART', 'UART', 'SPI', 'I2C', 'SDIO', 'OTG', 'JT', 'TIM', 'CAN']
|
||||
for l in af_labels:
|
||||
if function.startswith(l):
|
||||
s = pin + ":" + function
|
||||
|
Loading…
Reference in New Issue
Block a user