Fix compile error with LCD_I2C_VIKI

This commit is contained in:
Scott Lahteine
2016-12-07 23:29:06 -06:00
parent c1e1f63ffa
commit 3fb43c11fc
2 changed files with 3 additions and 6 deletions

View File

@@ -3154,6 +3154,8 @@ void lcd_reset_alert_level() { lcd_status_message_level = 0; }
#if (ENABLED(LCD_I2C_TYPE_MCP23017) || ENABLED(LCD_I2C_TYPE_MCP23008)) && ENABLED(DETECT_DEVICE)
bool lcd_detected() { return lcd.LcdDetected() == 1; }
#else
bool lcd_detected() { return true; }
#endif
#endif // ULTIPANEL