Fixed (I think) the M83 bug.
This commit is contained in:
parent
b53832f4ce
commit
73a903e656
4 changed files with 4 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
|||
*.d
|
||||
*.o
|
||||
Release/*
|
||||
!Release/RepRapFirmware.bin
|
||||
*~
|
||||
*orig
|
||||
/Release
|
||||
|
|
1
Data/.~lock.duet-testing.doc#
Normal file
1
Data/.~lock.duet-testing.doc#
Normal file
|
@ -0,0 +1 @@
|
|||
Adrian Bowyer,ensab,Charles,20.11.2013 18:47,file:///home/ensab/.config/libreoffice/3;
|
Binary file not shown.
|
@ -1042,14 +1042,14 @@ bool GCodes::ActOnGcode(GCodeBuffer *gb)
|
|||
break;
|
||||
|
||||
case 82:
|
||||
if(drivesRelative)
|
||||
// if(drivesRelative)
|
||||
for(int8_t extruder = AXES; extruder < DRIVES; extruder++)
|
||||
lastPos[extruder - AXES] = 0.0;
|
||||
drivesRelative = false;
|
||||
break;
|
||||
|
||||
case 83:
|
||||
if(!drivesRelative)
|
||||
// if(!drivesRelative)
|
||||
for(int8_t extruder = AXES; extruder < DRIVES; extruder++)
|
||||
lastPos[extruder - AXES] = 0.0;
|
||||
drivesRelative = true;
|
||||
|
|
Reference in a new issue