1
0
mirror of https://github.com/esphome/esphome.git synced 2024-12-24 16:58:07 +01:00

Fix compilation due to incompatibility between and IDF changes ()

This commit is contained in:
Oxan van Leeuwen 2021-09-22 14:07:39 +02:00 committed by GitHub
parent 66761ff340
commit ed3ad615d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,11 +35,11 @@ class SSD1306 : public PollingComponent, public display::DisplayBuffer {
void set_contrast(float contrast);
void init_brightness(float brightness) { this->brightness_ = brightness; }
void set_brightness(float brightness);
void init_flip_x(boolean flip_x) { this->flip_x_ = flip_x; }
void init_flip_y(boolean flip_y) { this->flip_y_ = flip_y; }
void init_flip_x(bool flip_x) { this->flip_x_ = flip_x; }
void init_flip_y(bool flip_y) { this->flip_y_ = flip_y; }
void init_offset_x(uint8_t offset_x) { this->offset_x_ = offset_x; }
void init_offset_y(uint8_t offset_y) { this->offset_y_ = offset_y; }
void init_invert(boolean invert) { this->invert_ = invert; }
void init_invert(bool invert) { this->invert_ = invert; }
bool is_on();
void turn_on();
void turn_off();