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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
code/espurna/sensors/PMSX003Sensor.h
|
|
@ -295,6 +295,9 @@ class PMSX003Sensor : public BaseSensor, PMSX003 { |
|
|
|
} |
|
|
|
} else { |
|
|
|
readCycle = -1; |
|
|
|
if (_readCount == 1) { |
|
|
|
wakeUp(); |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
|
|
|
|