HAL_ChibiOS: fixed CAN on Pixhawk4 and PH4-mini

the silent pins floating disabled CAN
This commit is contained in:
Andrew Tridgell 2019-01-23 12:40:10 +11:00
parent 98fa9454ed
commit ba53230f70
1 changed files with 4 additions and 0 deletions

View File

@ -210,6 +210,10 @@ PH13 CAN1_TX CAN1
PB12 CAN2_RX CAN2 PB12 CAN2_RX CAN2
PB13 CAN2_TX CAN2 PB13 CAN2_TX CAN2
PH2 GPIO_CAN1_SILENT OUTPUT PUSHPULL SPEED_LOW LOW GPIO(70)
PH3 GPIO_CAN2_SILENT OUTPUT PUSHPULL SPEED_LOW LOW GPIO(71)
PH4 GPIO_CAN3_SILENT OUTPUT PUSHPULL SPEED_LOW LOW GPIO(72)
# GPIOs # GPIOs
PA7 HEATER_EN OUTPUT LOW GPIO(80) PA7 HEATER_EN OUTPUT LOW GPIO(80)
define HAL_HEATER_GPIO_PIN 80 define HAL_HEATER_GPIO_PIN 80