fix CI warnings (and change CI comment to be correct)

This commit is contained in:
Kevin Hester 2024-08-28 10:44:46 -07:00
parent a1bf0d8519
commit dc9f6e1360
3 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ jobs:
build-native: build-native:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install libbluetooth - name: Install libs needed for native build
shell: bash shell: bash
run: | run: |
sudo apt-get update --fix-missing sudo apt-get update --fix-missing

View File

@ -157,7 +157,7 @@ class GPS : private concurrency::OSThread
* *
* Normally set by GPS::createGPS() * Normally set by GPS::createGPS()
*/ */
GpioVirtPin *enablePin; GpioVirtPin *enablePin = NULL;
GPS() : concurrency::OSThread("GPS") {} GPS() : concurrency::OSThread("GPS") {}

View File

@ -25,8 +25,6 @@ extern SX1509 gpioExtender;
#define TFT_INVERT true #define TFT_INVERT true
#endif #endif
GpioPin *TFTDisplay::backlightEnable;
class LGFX : public lgfx::LGFX_Device class LGFX : public lgfx::LGFX_Device
{ {
lgfx::Panel_ST7735S _panel_instance; lgfx::Panel_ST7735S _panel_instance;
@ -515,6 +513,8 @@ static LGFX *tft = nullptr;
extern unPhone unphone; extern unPhone unphone;
#endif #endif
GpioPin *TFTDisplay::backlightEnable = NULL;
TFTDisplay::TFTDisplay(uint8_t address, int sda, int scl, OLEDDISPLAY_GEOMETRY geometry, HW_I2C i2cBus) TFTDisplay::TFTDisplay(uint8_t address, int sda, int scl, OLEDDISPLAY_GEOMETRY geometry, HW_I2C i2cBus)
{ {
LOG_DEBUG("TFTDisplay!\n"); LOG_DEBUG("TFTDisplay!\n");