feat: More flexible ADC inputs (#3870)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com> Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
co-authored by
3djc
Peter Feerick
philmoz
parent
f5593c44e8
commit
b48e07026d
@@ -37,8 +37,7 @@
|
||||
|
||||
enum {
|
||||
ADC_INPUT_MAIN=0, // gimbals / wheel + throttle
|
||||
ADC_INPUT_POT,
|
||||
ADC_INPUT_AXIS,
|
||||
ADC_INPUT_FLEX,
|
||||
ADC_INPUT_VBAT,
|
||||
ADC_INPUT_RTC_BAT,
|
||||
ADC_INPUT_ALL,
|
||||
@@ -92,6 +91,9 @@ uint16_t* getAnalogValues();
|
||||
|
||||
// Run calibration steps:
|
||||
|
||||
// Set default values before loading radio settings
|
||||
void adcCalibDefaults();
|
||||
|
||||
// Set mid-points and reset min/max in temporary buffer
|
||||
void adcCalibSetMidPoint();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user