Workround added for bug in Pronterface (it sends 2 M24 commands on second file print). M24 is now ignored if a file

is actively printing.
This commit is contained in:
Adrian Bowyer 2013-12-30 17:25:38 +00:00
parent 71c1571c6c
commit f746616e8c
4 changed files with 4 additions and 2 deletions

View file

@ -24,8 +24,8 @@ Licence: GPL
#define CONFIGURATION_H
#define NAME "RepRapFirmware"
#define VERSION "0.48"
#define DATE "2013-12-27"
#define VERSION "0.49"
#define DATE "2013-12-30"
#define LAST_AUTHOR "reprappro.com"
// Other firmware that we might switch to be compatible with.

View file

@ -1337,6 +1337,8 @@ bool GCodes::ActOnGcode(GCodeBuffer *gb)
break;
case 24: // Print/resume-printing the selected file
if(fileBeingPrinted != NULL)
break;
fileBeingPrinted = fileToPrint;
fileToPrint = NULL;
break;

Binary file not shown.