SDCARDDETECTINVERTED problems

Fixed an error where SDCARDDETECTINVERTED was being defined/undefined
improperly
This commit is contained in:
Ed Boston 2015-05-22 16:28:10 -07:00 committed by Richard Wackerbarth
parent 2bf482ce65
commit bc205c76a3
2 changed files with 4 additions and 2 deletions

View file

@ -322,7 +322,7 @@
#define STEPS_PER_CUBIC_MM_E (axis_steps_per_unit[E_AXIS] / EXTRUSION_AREA) #define STEPS_PER_CUBIC_MM_E (axis_steps_per_unit[E_AXIS] / EXTRUSION_AREA)
#endif #endif
#ifdef ULTIPANEL #if defined(ULTIPANEL) && !defined(ELB_FULL_GRAPHIC_CONTROLLER)
#undef SDCARDDETECTINVERTED #undef SDCARDDETECTINVERTED
#endif #endif

View file

@ -289,7 +289,9 @@
// You can get round this by connecting a push button or single throw switch to the pin defined as SDCARDCARDDETECT // You can get round this by connecting a push button or single throw switch to the pin defined as SDCARDCARDDETECT
// in the pins.h file. When using a push button pulling the pin to ground this will need inverted. This setting should // in the pins.h file. When using a push button pulling the pin to ground this will need inverted. This setting should
// be commented out otherwise // be commented out otherwise
#ifndef ELB_FULL_GRAPHIC_CONTROLLER
#define SDCARDDETECTINVERTED #define SDCARDDETECTINVERTED
#endif
#define SD_FINISHED_STEPPERRELEASE true //if sd support and the file is finished: disable steppers? #define SD_FINISHED_STEPPERRELEASE true //if sd support and the file is finished: disable steppers?
#define SD_FINISHED_RELEASECOMMAND "M84 X Y Z E" // You might want to keep the z enabled so your bed stays in place. #define SD_FINISHED_RELEASECOMMAND "M84 X Y Z E" // You might want to keep the z enabled so your bed stays in place.