mirror of
https://github.com/esphome/esphome.git
synced 2025-10-25 21:23:53 +01:00
[epaper_spi] Fix busy pin logic (#11349)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
@@ -103,7 +103,7 @@ bool EPaperBase::is_idle_() {
|
|||||||
if (this->busy_pin_ == nullptr) {
|
if (this->busy_pin_ == nullptr) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return !this->busy_pin_->digital_read();
|
return this->busy_pin_->digital_read();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EPaperBase::reset() {
|
void EPaperBase::reset() {
|
||||||
|
|||||||
Reference in New Issue
Block a user