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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
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 |
|
|
|