- coding style harmonization
- check onsistency between Size & vSpan
This commit is contained in:
@@ -17,47 +17,48 @@
|
||||
# include "hd44780-serialLpt.h"
|
||||
# include "hd44780-winamp.h"
|
||||
#endif
|
||||
#include "hd44780-serial.h"
|
||||
#include "hd44780-lis2.h"
|
||||
#ifdef HAVE_LIBUSB
|
||||
# include "hd44780-bwct-usb.h"
|
||||
# include "hd44780-lcd2usb.h"
|
||||
#endif
|
||||
#include "hd44780-serial.h"
|
||||
#include "hd44780-lis2.h"
|
||||
#ifdef HAVE_I2C
|
||||
# include "hd44780-i2c.h"
|
||||
#endif
|
||||
// add new connection type header files here
|
||||
|
||||
|
||||
static const ConnectionMapping connectionMapping[] = {
|
||||
// connectionType enumerator
|
||||
// string to identify connection on command line
|
||||
// your initialisation function
|
||||
// help string for your particular connection
|
||||
#ifdef HAVE_PCSTYLE_LPT_CONTROL
|
||||
{"4bit", hd_init_4bit, "\tnone\n"},
|
||||
{"8bit", hd_init_ext8bit, "\tnone\n"},
|
||||
{"serialLpt", hd_init_serialLpt, "\tnone\n"},
|
||||
{"winamp", hd_init_winamp, "\tnone\n"},
|
||||
{ "4bit", hd_init_4bit, "\tnone\n" },
|
||||
{ "8bit", hd_init_ext8bit, "\tnone\n" },
|
||||
{ "serialLpt", hd_init_serialLpt, "\tnone\n" },
|
||||
{ "winamp", hd_init_winamp, "\tnone\n" },
|
||||
#endif
|
||||
/* Serial connectiontypes */
|
||||
{"picanlcd", hd_init_serial, "\tnone\n"},
|
||||
{"lcdserializer", hd_init_serial, "\tnone\n"},
|
||||
{"los-panel", hd_init_serial, "\tnone\n"},
|
||||
{"vdr-lcd", hd_init_serial, "\tnone\n"},
|
||||
{"vdr-wakeup", hd_init_serial, "\tnone\n"},
|
||||
{"pertelian", hd_init_serial, "\tnone\n"},
|
||||
{ "picanlcd", hd_init_serial, "\tnone\n" },
|
||||
{ "lcdserializer", hd_init_serial, "\tnone\n" },
|
||||
{ "los-panel", hd_init_serial, "\tnone\n" },
|
||||
{ "vdr-lcd", hd_init_serial, "\tnone\n" },
|
||||
{ "vdr-wakeup", hd_init_serial, "\tnone\n" },
|
||||
{ "pertelian", hd_init_serial, "\tnone\n" },
|
||||
/* End serial connectiontypes */
|
||||
{"lis2", hd_init_lis2, "\tnone\n"},
|
||||
{ "lis2", hd_init_lis2, "\tnone\n" },
|
||||
#ifdef HAVE_LIBUSB
|
||||
{"bwctusb", hd_init_bwct_usb, "\tnone\n"},
|
||||
{"lcd2usb", hd_init_lcd2usb, "\tnone\n"},
|
||||
{ "bwctusb", hd_init_bwct_usb, "\tnone\n" },
|
||||
{ "lcd2usb", hd_init_lcd2usb, "\tnone\n" },
|
||||
#endif
|
||||
#ifdef HAVE_I2C
|
||||
{"i2c", hd_init_i2c, "\tnone\n"},
|
||||
{ "i2c", hd_init_i2c, "\tnone\n" },
|
||||
#endif
|
||||
// add new connection types and their string specifier here
|
||||
// default, end of structure element (do not delete)
|
||||
{NULL, NULL, NULL}
|
||||
{ NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user