From 5f168407591e044100b98e1fbf846f29dedbd923 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Wed, 28 Aug 2024 10:57:58 -0700 Subject: [PATCH] fix native build (and change CI comment to be correct) --- .github/workflows/build_native.yml | 2 +- src/graphics/TFTDisplay.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_native.yml b/.github/workflows/build_native.yml index 3e8b4c001c..51bef0c132 100644 --- a/.github/workflows/build_native.yml +++ b/.github/workflows/build_native.yml @@ -10,7 +10,7 @@ jobs: build-native: runs-on: ubuntu-latest steps: - - name: Install libbluetooth + - name: Install libs needed for native build shell: bash run: | sudo apt-get update --fix-missing diff --git a/src/graphics/TFTDisplay.cpp b/src/graphics/TFTDisplay.cpp index 1dc4569db2..8552f88cde 100644 --- a/src/graphics/TFTDisplay.cpp +++ b/src/graphics/TFTDisplay.cpp @@ -18,6 +18,8 @@ extern SX1509 gpioExtender; #define TFT_MESH COLOR565(0x67, 0xEA, 0x94) #endif +GpioPin *TFTDisplay::backlightEnable = NULL; + #if defined(ST7735S) #include // Graphics and font library for ST7735 driver chip @@ -25,8 +27,6 @@ extern SX1509 gpioExtender; #define TFT_INVERT true #endif -GpioPin *TFTDisplay::backlightEnable; - class LGFX : public lgfx::LGFX_Device { lgfx::Panel_ST7735S _panel_instance;