diff --git a/code/espurna/config/sensors.h b/code/espurna/config/sensors.h index 212ec96a..84644d2b 100644 --- a/code/espurna/config/sensors.h +++ b/code/espurna/config/sensors.h @@ -618,7 +618,9 @@ #define PULSEMETER_INTERRUPT_ON FALLING #endif +#ifndef PULSEMETER_DEBOUNCE #define PULSEMETER_DEBOUNCE 50 // Do not register pulses within less than 50 millis +#endif //------------------------------------------------------------------------------ // PZEM004T based power monitor