Continuing work on Color Picker

This commit is contained in:
Jason P 2025-06-30 22:09:10 -05:00
parent 2dfa18f382
commit 428ca0972f
2 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,6 @@
#include "configuration.h"
#include "main.h"
#if ARCH_PORTDUINO
#include "platform/portduino/PortduinoGlue.h"
#endif
@ -14,10 +15,8 @@
extern SX1509 gpioExtender;
#endif
#ifndef TFT_MESH
// Legacy Color: 0x67, 0xEA, 0x94
uint16_t TFT_MESH = COLOR565(255, 255, 128);
#endif
#if defined(ST7735S)
#include <LovyanGFX.hpp> // Graphics and font library for ST7735 driver chip

View File

@ -19,10 +19,9 @@ class TFTDisplay : public OLEDDisplay
FIXME - the parameters are not used, just a temporary hack to keep working like the old displays
*/
TFTDisplay(uint8_t, int, int, OLEDDISPLAY_GEOMETRY, HW_I2C);
#ifndef TFT_MESH
// Legacy Color: 0x67, 0xEA, 0x94
uint16_t TFT_MESH = COLOR565(255, 255, 128);
#endif
// Write the buffer to the display memory
virtual void display() override { display(false); };