diff --git a/firmware/hw_layer/adc/adc_inputs.cpp b/firmware/hw_layer/adc/adc_inputs.cpp index 3a9d6edb07..ee6d4ef42b 100644 --- a/firmware/hw_layer/adc/adc_inputs.cpp +++ b/firmware/hw_layer/adc/adc_inputs.cpp @@ -355,11 +355,6 @@ void waitForSlowAdc(uint32_t lastAdcCounter) { } } -int getSlowAdcCounter() { - return slowAdcCounter; -} - - class SlowAdcController : public PeriodicController { public: SlowAdcController() diff --git a/firmware/hw_layer/adc/adc_inputs.h b/firmware/hw_layer/adc/adc_inputs.h index 3782d5f4d2..e4ececd06b 100644 --- a/firmware/hw_layer/adc/adc_inputs.h +++ b/firmware/hw_layer/adc/adc_inputs.h @@ -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); diff --git a/simulator/simulator/boards.h b/simulator/simulator/boards.h index 3f176298bc..27db168712 100644 --- a/simulator/simulator/boards.h +++ b/simulator/simulator/boards.h @@ -11,7 +11,6 @@ #define ADC_LOGIC_COOLANT 0 int getAdcValue(const char *msg, int channel); -#define getSlowAdcCounter() 0 #define waitForSlowAdc(x) {}