mirror of
https://github.com/esphome/esphome.git
synced 2026-06-01 09:25:09 +08:00
[sm2135] Fix copy-paste error in setup pin mode (#15248)
This commit is contained in:
@@ -25,7 +25,7 @@ void SM2135::setup() {
|
||||
this->data_pin_->pin_mode(gpio::FLAG_OUTPUT);
|
||||
this->clock_pin_->setup();
|
||||
this->clock_pin_->digital_write(false);
|
||||
this->data_pin_->pin_mode(gpio::FLAG_OUTPUT);
|
||||
this->clock_pin_->pin_mode(gpio::FLAG_OUTPUT);
|
||||
|
||||
this->data_pin_->pin_mode(gpio::FLAG_PULLUP);
|
||||
this->clock_pin_->pin_mode(gpio::FLAG_PULLUP);
|
||||
|
||||
Reference in New Issue
Block a user