Allow SD_FINISHED_RELEASECOMMAND to be undefined
This commit is contained in:
parent
82794fa5f7
commit
3348b3bf0c
|
@ -257,7 +257,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ULTIPANEL
|
#ifdef ULTIPANEL
|
||||||
#undef SDCARDDETECTINVERTED
|
#undef SDCARDDETECTINVERTED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Power Signal Control Definitions
|
// Power Signal Control Definitions
|
||||||
|
|
|
@ -388,7 +388,9 @@ ISR(TIMER1_COMPA_vect) {
|
||||||
{
|
{
|
||||||
current_block = NULL;
|
current_block = NULL;
|
||||||
plan_discard_current_block();
|
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--;
|
cleaning_buffer_counter--;
|
||||||
OCR1A = 200;
|
OCR1A = 200;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue