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
+1 -11
View File
@@ -44,16 +44,6 @@
#define CELLWIDTH 5
typedef enum {
normal = 0,
hbar = 1,
vbar = 2,
beat = 4,
icon = 8,
custom1 = 16
} custom_type;
/** private data for the \c pyramid driver */
typedef struct pyramid_private_data {
/* device io */
@@ -72,7 +62,7 @@ typedef struct pyramid_private_data {
/* output handling */
char framebuffer[WIDTH*HEIGHT+2];
int FB_modified;
custom_type custom;
CGmode custom;
/* button handling */
char last_key_pressed[6];