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;