mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-03 04:15:53 +00:00
Add missing warmup period to wakeUp function
This commit is contained in:
parent
ce2a3a03ab
commit
8ee83697cc
@ -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