Skip to content

Commit

Permalink
HAL_ChibiOS: allow user control of frsky inversion on Pixracer
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Nov 14, 2018
1 parent acf0398 commit f0c13d4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/fmuv4/hwdef.dat
Expand Up @@ -48,7 +48,6 @@ PA6 SPI1_MISO SPI1
PA7 SPI1_MOSI SPI1

PA9 VBUS INPUT
PA10 FRSKY_INV OUTPUT GPIO(78)

PA11 OTG_FS_DM OTG1
PA12 OTG_FS_DP OTG1
Expand Down Expand Up @@ -142,6 +141,12 @@ PD15 MPU9250_DRDY INPUT
# UART8 serial4 FrSky
PE0 UART8_RX UART8
PE1 UART8_TX UART8

# allow this uart to be inverted for transmit under user control
# the polarity is the value to use on the GPIO to change the polarity
# to the opposite of the default
PA10 UART8_TXINV OUTPUT HIGH GPIO(78) POL(0)

PE3 VDD_SENSORS_EN OUTPUT HIGH

# UART7 is debug
Expand Down

0 comments on commit f0c13d4

Please sign in to comment.