Browse Source

sns/event: event is a boolean value

mcspr-patch-1
Maxim Prokhorov 4 years ago
parent
commit
b0bb384bcd
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      code/espurna/sensor.cpp

+ 1
- 0
code/espurna/sensor.cpp View File

@ -536,6 +536,7 @@ BaseFilter* _magnitudeCreateFilter(unsigned char type, size_t size) {
case MAGNITUDE_ENERGY_DELTA:
filter = new SumFilter();
break;
case MAGNITUDE_EVENT:
case MAGNITUDE_DIGITAL:
filter = new MaxFilter();
break;


Loading…
Cancel
Save