Added ELB_FULL_GRAPHIC_CONTROLLER_SDCARDDETECTINVERTED

The new define allows the sd card detect to be inverted or not from
Configuration.h
This commit is contained in:
Ed Boston 2015-05-29 15:02:20 -07:00 committed by Richard Wackerbarth
parent bc205c76a3
commit b94a0e1501
2 changed files with 4 additions and 1 deletions

View file

@ -33,7 +33,9 @@
#define DEFAULT_LCD_CONTRAST 40
#elif defined(ELB_FULL_GRAPHIC_CONTROLLER)
#define DEFAULT_LCD_CONTRAST 110
#define SDCARDDETECTINVERTED
#ifdef ELB_FULL_GRAPHIC_CONTROLLER_SDCARDDETECTINVERTED
#define SDCARDDETECTINVERTED
#endif
#define SDSLOW
#define U8GLIB_LM6059_AF
#endif

View file

@ -670,6 +670,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
//
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
//#define ELB_FULL_GRAPHIC_CONTROLLER
//#define ELB_FULL_GRAPHIC_CONTROLLER_SDCARDDETECTINVERTED
// The RepRapDiscount Smart Controller (white PCB)
// http://reprap.org/wiki/RepRapDiscount_Smart_Controller