feat: indicate in analog debug if serial gimbals are used (#5442)
This commit is contained in:
@@ -77,6 +77,9 @@ struct etx_hal_adc_driver_t {
|
||||
bool (*init)();
|
||||
bool (*start_conversion)();
|
||||
void (*wait_completion)();
|
||||
|
||||
void (*set_input_mask)(uint32_t);
|
||||
uint32_t (*get_input_mask)();
|
||||
};
|
||||
|
||||
bool adcInit(const etx_hal_adc_driver_t* driver);
|
||||
@@ -137,6 +140,9 @@ int adcGetInputIdx(const char* input, uint8_t len);
|
||||
const char* adcGetInputLabel(uint8_t type, uint8_t idx);
|
||||
const char* adcGetInputShortLabel(uint8_t type, uint8_t idx);
|
||||
|
||||
void adcSetInputMask(uint32_t mask);
|
||||
uint32_t adcGetInputMask();
|
||||
|
||||
// To be implemented by the target driver
|
||||
// int8_t adcGetVRTC();
|
||||
// int8_t adcGetVBAT();
|
||||
|
||||
Reference in New Issue
Block a user