Fix Configuration.h file to not define LCDs be default.

Also fix compile time check in Marlin.pde
This commit is contained in:
Robert F-C
2013-02-28 02:32:20 +11:00
parent 1292d735ba
commit 839bef6d5d
2 changed files with 6 additions and 4 deletions

View File

@@ -39,8 +39,7 @@
#if defined(LCD_I2C_TYPE_PCF8575)
#include <LiquidCrystal_I2C.h>
#elif defined(LCD_I2C_TYPE_MCP23017)
#ifdef PANELOLU2
#undef PANELOLU2
#ifdef LCD_I2C_PANELOLU2
#include <LiquidTWI2.h>
#ifndef PANELOLU2
#error You must uncomment #define PANELOLU2 in LiquidTWI2.h for LiquidTWI2.cpp to compile correctly