Add 'spi' connection type by S. Dawson to the hd44780 driver.

This commit is contained in:
mmdolze committed 2014-01-29 21:48:03 +00:00
1 parent 8230c0ace1
commit dca261e98a
12 files changed
+287 -5

No files matched your search

+7
View File
@@ -427,6 +427,13 @@ HD44780_init(Driver *drvthis)
(p->have_output?" out":"")
);
break;
case IF_TYPE_SPI:
sprintf(buf, "SPI %s%s%s",
(p->have_backlight?" bl":""),
(p->have_keypad?" key":""),
(p->have_output?" out":"")
);
break;
case IF_TYPE_TCP:
sprintf(buf, "TCP %s%s%s",
(p->have_backlight?" bl":""),