Browse Source

hwdef: Redefine DMA priority PH4-mini

BUG.
Without redefining priority there is no DMA on any RX of serial ports.
Now it is.
Without DMA, you cannot normally use the serial port for the CRSF protocol.
gps-1.3.1
Nikolay March 3 years ago committed by Peter Barker
parent
commit
cceae1acf3
  1. 5
      libraries/AP_HAL_ChibiOS/hwdef/PH4-mini/hwdef.dat

5
libraries/AP_HAL_ChibiOS/hwdef/PH4-mini/hwdef.dat

@ -44,3 +44,8 @@ define HAL_BATT_CURR_SCALE 36.364 @@ -44,3 +44,8 @@ define HAL_BATT_CURR_SCALE 36.364
# setup safety switch
PE12 LED_SAFETY OUTPUT
PE10 SAFETY_IN INPUT PULLDOWN
#redefine dma
undef DMA_PRIORITY
DMA_PRIORITY SDMMC* USART2* ADC* SPI* TIM*

Loading…
Cancel
Save