mirror of
https://github.com/esphome/esphome.git
synced 2026-02-21 00:45:35 -07:00
fix mipi_dsi implementation
This commit is contained in:
@@ -11,6 +11,12 @@ static bool notify_refresh_ready(esp_lcd_panel_handle_t panel, esp_lcd_dpi_panel
|
||||
xSemaphoreGiveFromISR(sem, &need_yield);
|
||||
return (need_yield == pdTRUE);
|
||||
}
|
||||
|
||||
void MIPI_DSI::smark_failed(const LogString *message, esp_err_t err) {
|
||||
ESP_LOGE(TAG, "%s: %s", LOG_STR_ARG(message), esp_err_to_name(err));
|
||||
this->mark_failed(message);
|
||||
}
|
||||
|
||||
void MIPI_DSI::setup() {
|
||||
ESP_LOGCONFIG(TAG, "Running Setup");
|
||||
|
||||
|
||||
@@ -62,10 +62,7 @@ class MIPI_DSI : public display::Display {
|
||||
void set_lanes(uint8_t lanes) { this->lanes_ = lanes; }
|
||||
void set_madctl(uint8_t madctl) { this->madctl_ = madctl; }
|
||||
|
||||
void smark_failed(const LogString *message, esp_err_t err) {
|
||||
ESP_LOGE("mipi_dsi", "%s: %s", LOG_STR_ARG(message), esp_err_to_name(err));
|
||||
this->mark_failed(message);
|
||||
}
|
||||
void smark_failed(const LogString *message, esp_err_t err);
|
||||
|
||||
void update() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user