1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 23:05:19 +03:00

[H7] Enable ADC

- Initial cut without internal sensors

- Full DMA including internal sensors spanning multiple ADC peripherals

- Skip ADC initialisation when ADC instance is unused to avoid crash.

- Add volatile & DMA_RAM attribute to ADC DMA buffer

- Revised DMA coherency handling

- adcGetChannelValues - added comment and moved def to adc_impl.h

- Changes per PR comment (indentation fix)
This commit is contained in:
jflyper 2019-05-06 11:21:47 +09:00
parent 1cbff2b9aa
commit 1b49b33e00
8 changed files with 518 additions and 4 deletions

View file

@ -350,4 +350,9 @@ void adcInit(const adcConfig_t *config)
/* Start Conversion Error */
}
}
void adcGetChannelValues(void)
{
// Nothing to do
}
#endif