Browse Source

Allow SD_FINISHED_RELEASECOMMAND to be undefined

pull/1/head
Scott Lahteine 10 years ago
parent
commit
3348b3bf0c
  1. 2
      Marlin/Conditionals.h
  2. 4
      Marlin/stepper.cpp

2
Marlin/Conditionals.h

@ -257,7 +257,7 @@
#endif
#ifdef ULTIPANEL
#undef SDCARDDETECTINVERTED
#undef SDCARDDETECTINVERTED
#endif
// Power Signal Control Definitions

4
Marlin/stepper.cpp

@ -388,7 +388,9 @@ ISR(TIMER1_COMPA_vect) {
{
current_block = NULL;
plan_discard_current_block();
if ((cleaning_buffer_counter == 1) && (SD_FINISHED_STEPPERRELEASE)) enquecommands_P(PSTR(SD_FINISHED_RELEASECOMMAND));
#ifdef SD_FINISHED_RELEASECOMMAND
if ((cleaning_buffer_counter == 1) && (SD_FINISHED_STEPPERRELEASE)) enquecommands_P(PSTR(SD_FINISHED_RELEASECOMMAND));
#endif
cleaning_buffer_counter--;
OCR1A = 200;
return;

Loading…
Cancel
Save