mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 06:06:33 +00:00
Fix brightness setting not working on SSD1305 128x32 OLEDs (#9376)
This commit is contained in:
parent
c4fac1a2ae
commit
fb357b8965
@ -224,7 +224,7 @@ bool SSD1306::is_sh1106_() const {
|
||||
}
|
||||
bool SSD1306::is_sh1107_() const { return this->model_ == SH1107_MODEL_128_64 || this->model_ == SH1107_MODEL_128_128; }
|
||||
bool SSD1306::is_ssd1305_() const {
|
||||
return this->model_ == SSD1305_MODEL_128_64 || this->model_ == SSD1305_MODEL_128_64;
|
||||
return this->model_ == SSD1305_MODEL_128_64 || this->model_ == SSD1305_MODEL_128_32;
|
||||
}
|
||||
void SSD1306::update() {
|
||||
this->do_update_();
|
||||
|
Loading…
x
Reference in New Issue
Block a user