mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-31 02:45:41 +00:00
Add missing warmup period to wakeUp function
This commit is contained in:
parent
a10e316893
commit
3b317f01c3
@ -62,6 +62,7 @@ void PMSA003ISensor::sleep() {
|
|||||||
uint32_t PMSA003ISensor::wakeUp() {
|
uint32_t PMSA003ISensor::wakeUp() {
|
||||||
digitalWrite(PMSA003I_ENABLE_PIN, HIGH);
|
digitalWrite(PMSA003I_ENABLE_PIN, HIGH);
|
||||||
state = State::ACTIVE;
|
state = State::ACTIVE;
|
||||||
|
return PMSA003I_WARMUP_MS
|
||||||
}
|
}
|
||||||
#endif /* PMSA003I_ENABLE_PIN */
|
#endif /* PMSA003I_ENABLE_PIN */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user