mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 23:48:11 +01:00
Bug fix
This commit is contained in:
parent
2bfb9573e3
commit
c81fd372aa
2 changed files with 1 additions and 2 deletions
|
@ -25,7 +25,7 @@ class DisplayBuffer : public Display {
|
||||||
protected:
|
protected:
|
||||||
virtual void draw_absolute_pixel_internal(int x, int y, Color color) = 0;
|
virtual void draw_absolute_pixel_internal(int x, int y, Color color) = 0;
|
||||||
|
|
||||||
void init_internal_(uint32_t buffer_length);
|
virtual void init_internal_(uint32_t buffer_length);
|
||||||
|
|
||||||
uint8_t *buffer_{nullptr};
|
uint8_t *buffer_{nullptr};
|
||||||
};
|
};
|
||||||
|
|
|
@ -2662,7 +2662,6 @@ void HOT WaveshareEPaper7P3InF::display() {
|
||||||
this->wait_until_idle_();
|
this->wait_until_idle_();
|
||||||
|
|
||||||
ESP_LOGI(TAG, "Set the display to deep sleep");
|
ESP_LOGI(TAG, "Set the display to deep sleep");
|
||||||
ESP_LOGE(TAG, "GO TO DEEP SLEEP");
|
|
||||||
this->command(0x07);
|
this->command(0x07);
|
||||||
this->data(0xA5);
|
this->data(0xA5);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue