mirror of https://github.com/FOME-Tech/fome-fw.git
adc inputs cleanup
This commit is contained in:
parent
c086047ac5
commit
0b31777623
|
@ -264,11 +264,6 @@ void waitForSlowAdc(uint32_t lastAdcCounter) {
|
|||
}
|
||||
}
|
||||
|
||||
int getSlowAdcCounter() {
|
||||
return slowAdcCounter;
|
||||
}
|
||||
|
||||
|
||||
class SlowAdcController : public PeriodicController<256> {
|
||||
public:
|
||||
SlowAdcController()
|
||||
|
|
|
@ -53,8 +53,6 @@ brain_pin_e getAdcChannelBrainPin(const char *msg, adc_channel_e hwChannel);
|
|||
|
||||
// wait until at least 1 slowADC sampling is complete
|
||||
void waitForSlowAdc(uint32_t lastAdcCounter = 0);
|
||||
// get a number of completed slowADC samples
|
||||
int getSlowAdcCounter();
|
||||
|
||||
int getAdcHardwareIndexByInternalIndex(int index);
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#define ADC_LOGIC_COOLANT 0
|
||||
|
||||
int getAdcValue(const char *msg, int channel);
|
||||
#define getSlowAdcCounter() 0
|
||||
#define waitForSlowAdc(x) {}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue