Browse Source

Merge pull request #1441 from jackwilsdon/fix-pulsemeter-debounce-define

Allow hardware to redefine pulsemeter debounce
refactor-terminal
Xose Pérez 6 years ago
committed by GitHub
parent
commit
bd719bd9d9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      code/espurna/config/sensors.h

+ 2
- 0
code/espurna/config/sensors.h View File

@ -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


Loading…
Cancel
Save