mirror of
https://github.com/esphome/esphome.git
synced 2025-09-21 12:42:21 +01:00
[sen5x] Fix initialization (#10603)
This commit is contained in:
committed by
Jesse Hills
parent
c5b2a9e24b
commit
972aa691e4
@@ -38,6 +38,7 @@ void SEN5XComponent::setup() {
|
|||||||
this->mark_failed();
|
this->mark_failed();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
delay(20); // per datasheet
|
||||||
|
|
||||||
uint16_t raw_read_status;
|
uint16_t raw_read_status;
|
||||||
if (!this->read_data(raw_read_status)) {
|
if (!this->read_data(raw_read_status)) {
|
||||||
|
Reference in New Issue
Block a user