mirror of
https://github.com/esphome/esphome.git
synced 2024-12-21 16:27:44 +01:00
[ili9xxx] Put display into sleep mode on shutdown. (#7555)
This commit is contained in:
parent
b8630363e0
commit
52e59d1dad
@ -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 New Issue
Block a user