cleanup connection type recognition, prepare for aliases, ...

This commit is contained in:
marschap committed 2007-10-14 09:44:06 +00:00
1 parent 8cfd341944
commit 0899cef23d
3 files changed
+72 -45

No files matched your search

+3 -2
View File
@@ -47,8 +47,9 @@ typedef struct cgram_cache {
typedef struct ConnectionMapping {
char *name;
int connectiontype;
int if_type;
int (*init_fn)(Driver *drvthis);
const char *helpMsg;
} ConnectionMapping;
typedef struct driver_private_data {
@@ -75,7 +76,7 @@ typedef struct driver_private_data {
CGmode ccmode;
// Connection type data
int connectiontype_index;
int connectiontype;
struct hwDependentFns *hd44780_functions;
// spanList[line number] = display line number is in