Fix handling of custom characters. ccmode was not reset on screen clear().

Remove unused ccmode from serialPOS.
This commit is contained in:
mmdolze
2011-01-05 19:54:54 +00:00
parent c4326258e6
commit 50ff73d7c1
4 changed files with 14 additions and 21 deletions
-14
View File
@@ -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;