Add 'raspberrypi' connection type to HD44780 driver (by P. Corner).

This commit is contained in:
mmdolze
2013-01-27 11:44:42 +00:00
parent 48b1c1ee40
commit 96502bcfdf
8 changed files with 715 additions and 21 deletions
+7 -1
View File
@@ -35,7 +35,10 @@
#ifdef WITH_ETHLCD
# include "hd44780-ethlcd.h"
#endif
# include "hd44780-usblcd.h"
#include "hd44780-usblcd.h"
#ifdef WITH_RASPBERRYPI
# include "hd44780-rpi.h"
#endif
/* add new connection type header files to the correct section above or here */
@@ -81,6 +84,9 @@ static const ConnectionMapping connectionMapping[] = {
/* TCP socket connection types */
#ifdef WITH_ETHLCD
{ "ethlcd", HD44780_CT_ETHLCD, IF_TYPE_TCP, hd_init_ethlcd },
#endif
#ifdef WITH_RASPBERRYPI
{ "raspberrypi", HD44780_CT_RASPBERRYPI, IF_TYPE_PARPORT, hd_init_rpi },
#endif
/* add new connection types in the correct section above or here */