Fix #534 ILI9486 Failed to start: src/drv/tft/tft_driver_lovyangfx.cpp

This commit is contained in:
dfsx1 2023-10-01 18:44:01 +02:00
parent af9cf97a24
commit ad0f69f68e

View File

@ -298,6 +298,11 @@ lgfx::Panel_Device* LovyanGfx::_init_panel(lgfx::IBus* bus)
LOG_VERBOSE(TAG_TFT, F("Panel_ILI9481_b")); LOG_VERBOSE(TAG_TFT, F("Panel_ILI9481_b"));
break; break;
} }
case TFT_PANEL_ILI9486: {
panel = new lgfx::Panel_ILI9486();
LOG_VERBOSE(TAG_TFT, F("Panel_ILI9486"));
break;
}
case TFT_PANEL_ILI9488: { case TFT_PANEL_ILI9488: {
panel = new lgfx::Panel_ILI9488(); panel = new lgfx::Panel_ILI9488();
LOG_VERBOSE(TAG_TFT, F("Panel_ILI9488")); LOG_VERBOSE(TAG_TFT, F("Panel_ILI9488"));