new ConnectionType ethlcd for hd44780 (Mariusz Bialonczyk)

This commit is contained in:
marschap committed 2008-09-17 13:28:17 +00:00
1 parent 8c8e12364d
commit 0497178706
12 files changed
+240 -1

No files matched your search

+4
View File
@@ -47,6 +47,7 @@
#define HD44780_CT_LCDUSB 14
#define HD44780_CT_FTDI 15
#define HD44780_CT_I2C 16
#define HD44780_CT_ETHLCD 17
// symbolic names for interface types
#define IF_TYPE_UNKNOWN 0
@@ -54,6 +55,7 @@
#define IF_TYPE_SERIAL 2
#define IF_TYPE_USB 3
#define IF_TYPE_I2C 4
#define IF_TYPE_TCP 5
// symbolic default values
#define DEFAULT_CONTRAST 800
@@ -118,6 +120,8 @@ typedef struct driver_private_data {
int ftdi_line_backlight;
#endif
int sock; /* socket for TCP devices */
int charmap;
int width, height;