Skip to content

Commit

Permalink
fix: T18 has no power switch on AUX2 (#4035)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelcoeffic authored Sep 20, 2023
1 parent 2596b0e commit 325dffd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions radio/src/targets/horus/hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,10 @@
#define AUX2_SERIAL_DMA_Stream_RX DMA2_Stream1 // or DMA2_Stream2
#define AUX2_SERIAL_DMA_Channel_RX LL_DMA_CHANNEL_5
#define AUX2_SERIAL_DMA_Stream_RX_LL LL_DMA_STREAM_1
#define AUX2_SERIAL_PWR_GPIO GPIOB
#define AUX2_SERIAL_PWR_GPIO_PIN GPIO_Pin_0 // PB.00
#if !defined(RADIO_T18)
#define AUX2_SERIAL_PWR_GPIO GPIOB
#define AUX2_SERIAL_PWR_GPIO_PIN GPIO_Pin_0 // PB.00
#endif
#endif
#else // AUX2_SERIAL
#define AUX2_SERIAL_RCC_AHB1Periph 0
Expand Down

0 comments on commit 325dffd

Please sign in to comment.