Move custom character type to lcd.cpp
This commit is contained in:
parent
c2c01a9a86
commit
32cee8b529
|
|
@ -81,6 +81,12 @@ static uint8_t lcd_ddram_address; // no need for preventing ddram overflow
|
||||||
uint8_t lcd_escape[8];
|
uint8_t lcd_escape[8];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
struct CustomCharacter {
|
||||||
|
uint8_t colByte;
|
||||||
|
uint8_t rowData[4];
|
||||||
|
char alternate;
|
||||||
|
};
|
||||||
|
|
||||||
static uint8_t lcd_custom_characters[8] = {0};
|
static uint8_t lcd_custom_characters[8] = {0};
|
||||||
static const CustomCharacter Font[] PROGMEM = {
|
static const CustomCharacter Font[] PROGMEM = {
|
||||||
#include "FontTable.h"
|
#include "FontTable.h"
|
||||||
|
|
|
||||||
|
|
@ -185,12 +185,6 @@ private:
|
||||||
#define LCD_STR_CONFIRM "\x89"
|
#define LCD_STR_CONFIRM "\x89"
|
||||||
#define LCD_STR_SOLID_BLOCK "\xFF" //from the default character set
|
#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();
|
extern void lcd_frame_start();
|
||||||
|
|
||||||
//! @brief Consume click and longpress event
|
//! @brief Consume click and longpress event
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue