1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Allow SD_FINISHED_RELEASECOMMAND to be undefined

This commit is contained in:
Scott Lahteine 2015-03-30 23:31:48 -07:00
parent 82794fa5f7
commit 3348b3bf0c
2 changed files with 4 additions and 2 deletions

View File

@ -388,7 +388,9 @@ ISR(TIMER1_COMPA_vect) {
{
current_block = NULL;
plan_discard_current_block();
#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;