Move custom character type to lcd.cpp

This commit is contained in:
Alex Voinea 2023-09-30 17:54:46 +02:00
parent c2c01a9a86
commit 32cee8b529
2 changed files with 6 additions and 6 deletions

View File

@ -81,6 +81,12 @@ static uint8_t lcd_ddram_address; // no need for preventing ddram overflow
uint8_t lcd_escape[8];
#endif
struct CustomCharacter {
uint8_t colByte;
uint8_t rowData[4];
char alternate;
};
static uint8_t lcd_custom_characters[8] = {0};
static const CustomCharacter Font[] PROGMEM = {
#include "FontTable.h"

View File

@ -185,12 +185,6 @@ private:
#define LCD_STR_CONFIRM "\x89"
#define LCD_STR_SOLID_BLOCK "\xFF" //from the default character set
struct CustomCharacter {
uint8_t colByte;
uint8_t rowData[4];
char alternate;
};
extern void lcd_frame_start();
//! @brief Consume click and longpress event