Browse Source

SDCARDDETECTINVERTED problems

Fixed an error where SDCARDDETECTINVERTED was being defined/undefined
improperly
pull/1/head
Ed Boston 9 years ago
committed by Richard Wackerbarth
parent
commit
bc205c76a3
  1. 2
      Marlin/Conditionals.h
  2. 4
      Marlin/Configuration_adv.h

2
Marlin/Conditionals.h

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

4
Marlin/Configuration_adv.h

@ -289,7 +289,9 @@
// 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
// be commented out otherwise
#define SDCARDDETECTINVERTED
#ifndef ELB_FULL_GRAPHIC_CONTROLLER
#define SDCARDDETECTINVERTED
#endif
#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.

Loading…
Cancel
Save