Update to latest LovyanGFX PR and use LGFX_SDL define

This commit is contained in:
Jonathan Bennett
2025-08-08 20:24:05 -05:00
parent b1a22e32d6
commit 0a03effcab
3 changed files with 4 additions and 2 deletions

View File

@@ -667,7 +667,9 @@ static LGFX *tft = nullptr;
static TFT_eSPI *tft = nullptr; // Invoke library, pins defined in User_Setup.h
#elif ARCH_PORTDUINO
#include <LovyanGFX.hpp> // Graphics and font library for ST7735 driver chip
#if defined(LGFX_SDL)
#include <lgfx/v1/platforms/sdl/Panel_sdl.hpp>
#endif
class LGFX : public lgfx::LGFX_Device
{