From 615c6da443f65bfda4211915619745c88e772aba Mon Sep 17 00:00:00 2001 From: Bodmer Date: Sun, 19 Feb 2023 22:43:20 +0000 Subject: [PATCH] Fix #2425 correct typo 2423 --- TFT_eSPI.h | 3 +++ examples/480 x 320/TFT_ring_meter/TFT_ring_meter.ino | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/TFT_eSPI.h b/TFT_eSPI.h index 2fbce4e..9056ed4 100644 --- a/TFT_eSPI.h +++ b/TFT_eSPI.h @@ -106,6 +106,7 @@ #include "Processors/TFT_eSPI_RP2040.h" #else #include "Processors/TFT_eSPI_Generic.h" + #define GENERIC_PROCESSOR #endif /*************************************************************************************** @@ -366,7 +367,9 @@ uint32_t setup_id; // ID available to use in a user setup int32_t esp; // Processor code uint8_t trans; // SPI transaction support uint8_t serial; // Serial (SPI) or parallel +#ifndef GENERIC_PROCESSOR uint8_t port; // SPI port +#endif uint8_t overlap; // ESP8266 overlap mode uint8_t interface; // Interface type diff --git a/examples/480 x 320/TFT_ring_meter/TFT_ring_meter.ino b/examples/480 x 320/TFT_ring_meter/TFT_ring_meter.ino index 923cb39..bbd1834 100644 --- a/examples/480 x 320/TFT_ring_meter/TFT_ring_meter.ino +++ b/examples/480 x 320/TFT_ring_meter/TFT_ring_meter.ino @@ -15,7 +15,7 @@ #define TFT_GREY 0x2104 // Dark grey 16 bit colour -#include "alert.h" // Out of range alert icon +#include "Alert.h" // Out of range alert icon #include // Hardware-specific library #include