Fix brightness setting not working on SSD1305 128x32 OLEDs (#9376)

This commit is contained in:
Steffen Arntz 2025-07-07 23:25:11 +02:00 committed by GitHub
parent c4fac1a2ae
commit fb357b8965
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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_sh1107_() const { return this->model_ == SH1107_MODEL_128_64 || this->model_ == SH1107_MODEL_128_128; }
bool SSD1306::is_ssd1305_() const { 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() { void SSD1306::update() {
this->do_update_(); this->do_update_();