better error handling
This commit is contained in:
parent
8d7b6e8e0f
commit
cec2208a1b
|
@ -180,7 +180,7 @@ void lcd_HD44780_init(Logging *sharedLogger) {
|
|||
addConsoleAction("lcdinfo", lcdInfo);
|
||||
|
||||
if (engineConfiguration->displayMode > DM_HD44780_OVER_PCF8574) {
|
||||
firmwareError(CUSTOM_ERR_6515, "Unexpected displayMode %d", engineConfiguration->displayMode);
|
||||
warning(CUSTOM_ERR_6515, "Unexpected displayMode %d", engineConfiguration->displayMode);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue