Browse Source

Merge pull request #1187 from Yonsm/PMSX003Sensor

WakeUp PMSX003 sensor on first reading cycle
webui
Xose Pérez 6 years ago
committed by GitHub
parent
commit
1552ec4f1c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      code/espurna/sensors/PMSX003Sensor.h

+ 3
- 0
code/espurna/sensors/PMSX003Sensor.h View File

@ -295,6 +295,9 @@ class PMSX003Sensor : public BaseSensor, PMSX003 {
}
} else {
readCycle = -1;
if (_readCount == 1) {
wakeUp();
}
}
#endif


Loading…
Cancel
Save