[ili9xxx] Put display into sleep mode on shutdown. (#7555)

This commit is contained in:
Clyde Stubbs 2024-10-08 12:28:59 +11:00 committed by GitHub
parent b8630363e0
commit 52e59d1dad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,