Browse Source

Changed (corrected?) SD_card comment handling.

pull/1/head
Erik van der Zalm 13 years ago
parent
commit
21e2bae063
  1. 4
      Marlin/Marlin.pde

4
Marlin/Marlin.pde

@ -466,11 +466,11 @@ void get_command()
return; //if empty line
}
cmdbuffer[bufindw][serial_count] = 0; //terminate string
if(!comment_mode){
// if(!comment_mode){
fromsd[bufindw] = true;
buflen += 1;
bufindw = (bufindw + 1)%BUFSIZE;
}
// }
comment_mode = false; //for new command
serial_count = 0; //clear buffer
}

Loading…
Cancel
Save