From 7c5e58f3b222163d559ee208d7ee1ec101757f3c Mon Sep 17 00:00:00 2001 From: richonguzman Date: Tue, 5 Nov 2024 19:14:22 -0300 Subject: [PATCH] ready for testing --- src/display.cpp | 8 ++++---- variants/heltec_wireless_tracker/board_pinout.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/display.cpp b/src/display.cpp index d1e2ead..7cdfad1 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -16,7 +16,7 @@ #define lineSpacing 12 #endif #else - #if HAS_EPAPER + #ifdef HAS_EPAPER // #else #include @@ -59,7 +59,7 @@ void displaySetup() { tft.setTextFont(0); tft.fillScreen(TFT_BLACK); #else - #if HAS_EPAPER + #ifdef HAS_EPAPER // #else #ifdef OLED_DISPLAY_HAS_RST_PIN @@ -92,7 +92,7 @@ void displayToggle(bool toggle) { #ifdef HAS_TFT digitalWrite(TFT_BL, HIGH); #else - #if HAS_EPAPER + #ifdef HAS_EPAPER // ... to be continued #else if (displayFound) display.ssd1306_command(SSD1306_DISPLAYON); @@ -102,7 +102,7 @@ void displayToggle(bool toggle) { #ifdef HAS_TFT digitalWrite(TFT_BL, LOW); #else - #if HAS_EPAPER + #ifdef HAS_EPAPER // ... to be continued #else if (displayFound) display.ssd1306_command(SSD1306_DISPLAYOFF); diff --git a/variants/heltec_wireless_tracker/board_pinout.h b/variants/heltec_wireless_tracker/board_pinout.h index 4d45ebd..d558b40 100644 --- a/variants/heltec_wireless_tracker/board_pinout.h +++ b/variants/heltec_wireless_tracker/board_pinout.h @@ -5,7 +5,7 @@ #define HAS_DISPLAY #define HAS_TFT #define HAS_GPS - #define GPS_BAUDRATE=115200 + #define GPS_BAUDRATE 115200 /*#undef OLED_SDA #undef OLED_SCL