better error handling

This commit is contained in:
rusefi 2017-03-19 17:33:27 -04:00
parent 8d7b6e8e0f
commit cec2208a1b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}