Fix handling of custom characters. ccmode was not reset on screen clear().
Remove unused ccmode from serialPOS.
This commit is contained in:
@@ -132,17 +132,6 @@ typedef enum {
|
||||
} AEDEXCommands;
|
||||
|
||||
|
||||
typedef enum {
|
||||
standard, /* only char 0 is used for heartbeat */
|
||||
vbar, /* vertical bars */
|
||||
hbar, /* horizontal bars */
|
||||
custom, /* custom settings */
|
||||
bignum, /* big numbers */
|
||||
bigchar /* big characters */
|
||||
} CGmode;
|
||||
|
||||
|
||||
|
||||
/** private data for the \c serialPOS driver */
|
||||
typedef struct serialPOS_private_data {
|
||||
int fd; /**< LCD file descriptor */
|
||||
@@ -155,9 +144,6 @@ typedef struct serialPOS_private_data {
|
||||
unsigned char *framebuf;
|
||||
unsigned char *backingstore;
|
||||
|
||||
/* defineable characters */
|
||||
CGmode ccmode;
|
||||
|
||||
/* feature enable */
|
||||
int hardwrap;
|
||||
int hardscroll;
|
||||
|
||||
Reference in New Issue
Block a user