mirror of
https://github.com/esphome/esphome.git
synced 2024-11-15 03:28:12 +01:00
[ili9xxx] Put display into sleep mode on shutdown. (#7555)
This commit is contained in:
parent
b8630363e0
commit
52e59d1dad
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ class ILI9XXXDisplay : public display::DisplayBuffer,
|
|||
|
||||
void dump_config() override;
|
||||
void setup() override;
|
||||
void on_shutdown() override { this->command(ILI9XXX_SLPIN); }
|
||||
|
||||
display::DisplayType get_display_type() override { return display::DisplayType::DISPLAY_TYPE_COLOR; }
|
||||
void draw_pixels_at(int x_start, int y_start, int w, int h, const uint8_t *ptr, display::ColorOrder order,
|
||||
|
|
Loading…
Reference in a new issue