Refactor ubiquitous CGmode enum into lcd.h and convert remaining drivers

to use it.
This commit is contained in:
mmdolze
2011-01-06 10:59:19 +00:00
parent 46c45a87e5
commit 96525e30b7
23 changed files with 66 additions and 226 deletions
-9
View File
@@ -73,15 +73,6 @@ typedef enum {
SURE_ELEC_EDITION3 = 3,
} SureElec_edition;
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 SureElec driver */
typedef struct SureElec_private_data {
int fd; /* Serial port file descriptor */