ADC: dead

This commit is contained in:
Andrey Gusakov 2024-05-09 23:03:22 +03:00 committed by rusefillc
parent 7b5a28f288
commit 399cd3f5b7
3 changed files with 0 additions and 8 deletions

View File

@ -355,11 +355,6 @@ void waitForSlowAdc(uint32_t lastAdcCounter) {
}
}
int getSlowAdcCounter() {
return slowAdcCounter;
}
class SlowAdcController : public PeriodicController<UTILITY_THREAD_STACK_SIZE> {
public:
SlowAdcController()

View File

@ -63,8 +63,6 @@ void initAdcInputs();
// wait until at least 1 slowADC sampling is complete
void waitForSlowAdc(uint32_t lastAdcCounter = 0);
// get a number of completed slowADC samples
int getSlowAdcCounter();
void printFullAdcReportIfNeeded(void);
int getInternalAdcValue(const char *msg, adc_channel_e index);

View File

@ -11,7 +11,6 @@
#define ADC_LOGIC_COOLANT 0
int getAdcValue(const char *msg, int channel);
#define getSlowAdcCounter() 0
#define waitForSlowAdc(x) {}