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

This commit is contained in:
mmdolze
2014-01-29 21:48:03 +00:00
parent 8230c0ace1
commit dca261e98a
12 changed files with 287 additions and 5 deletions
+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":""),