Skip to content

Commit

Permalink
fix native build (and change CI comment to be correct)
Browse files Browse the repository at this point in the history
  • Loading branch information
geeksville committed Aug 28, 2024
1 parent ae78b5d commit 5f16840
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/graphics/TFTDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ extern SX1509 gpioExtender;
#define TFT_MESH COLOR565(0x67, 0xEA, 0x94)
#endif

GpioPin *TFTDisplay::backlightEnable = NULL;

#if defined(ST7735S)
#include <LovyanGFX.hpp> // Graphics and font library for ST7735 driver chip

#ifndef TFT_INVERT
#define TFT_INVERT true
#endif

GpioPin *TFTDisplay::backlightEnable;

class LGFX : public lgfx::LGFX_Device
{
lgfx::Panel_ST7735S _panel_instance;
Expand Down

0 comments on commit 5f16840

Please sign in to comment.