mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Fix F7 ADC
This commit is contained in:
parent
f79cb71ff6
commit
358bdf76f3
3 changed files with 39 additions and 36 deletions
|
@ -51,6 +51,10 @@ typedef struct adcDevice_s {
|
|||
#else
|
||||
DMA_Channel_TypeDef* DMAy_Channelx;
|
||||
#endif
|
||||
#if defined(STM32F7)
|
||||
ADC_HandleTypeDef ADCHandle;
|
||||
DMA_HandleTypeDef DmaHandle;
|
||||
#endif
|
||||
} adcDevice_t;
|
||||
|
||||
extern const adcDevice_t adcHardware[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue