mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Initial ADC support for AT32 (#12356)
Reads internal and external ADC channels. Internal Vref and temperature tested, external Vbat tested. Expect temperature to be inaccurate as the AT chips don't come with per chip calibration. External current and the generic 'external' channels haven't been tested.
This commit is contained in:
parent
3598f3e41a
commit
4019369ec0
9 changed files with 309 additions and 130 deletions
|
@ -181,8 +181,10 @@ extern const timerHardware_t fullTimerHardware[];
|
|||
|
||||
#else
|
||||
|
||||
#ifdef USABLE_TIMER_CHANNEL_COUNT
|
||||
#define TIMER_CHANNEL_COUNT USABLE_TIMER_CHANNEL_COUNT
|
||||
#define TIMER_HARDWARE timerHardware
|
||||
#endif
|
||||
|
||||
#endif // USE_TIMER_MGMT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue