Skip to content

Commit

Permalink
Add compatibility defines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien-B committed Jan 24, 2023
1 parent 7f77973 commit b02bc31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sw/airborne/arch/stm32/mcu_periph/adc_arch.c
Expand Up @@ -132,6 +132,10 @@
#endif
#endif

#define RST_ADC1 RST_ADC
#define RST_ADC2 RST_ADC
#define RST_ADC3 RST_ADC

#else // !STM32F4
// ADC 3 not supported on STM32F1
#undef USE_AD3
Expand Down

0 comments on commit b02bc31

Please sign in to comment.