Skip to content

Commit

Permalink
Update SERVER.mod
Browse files Browse the repository at this point in the history
Fixed reset procedure to avoid movement on cases (-1, 2)
  • Loading branch information
davepollard authored Apr 5, 2018
1 parent 4507905 commit cb93fa5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions SERVER.mod
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ PROC ServerMain()
! Execution of the command
TEST instructionCode
CASE -1:
ResetRobotPosition;
IF nParams = 1 THEN
IF params{1} = -1 THEN
ChangeExtruderState (0);
Expand Down Expand Up @@ -786,4 +785,4 @@ ERROR
ENDIF
ENDFUNC

ENDMODULE
ENDMODULE

0 comments on commit cb93fa5

Please sign in to comment.