diff --git a/server/drivers/hd44780.c b/server/drivers/hd44780.c index 63cf173..fc749d3 100644 --- a/server/drivers/hd44780.c +++ b/server/drivers/hd44780.c @@ -307,7 +307,8 @@ HD44780_init (Driver * drvthis) p->hd44780_functions->output = NULL; // Do connection type specific display init - connectionMapping[p->connectiontype_index].init_fn (drvthis); + if (connectionMapping[p->connectiontype_index].init_fn (drvthis) != 0) + return -1; // Display startup parameters on the LCD HD44780_clear (drvthis);