mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-05 13:14:45 +00:00
Continuing work on Color Picker
This commit is contained in:
parent
2dfa18f382
commit
428ca0972f
@ -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
|
||||
|
@ -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); };
|
||||
|
Loading…
Reference in New Issue
Block a user