Skip to content

Commit

Permalink
delay the disabling of air assist
Browse files Browse the repository at this point in the history
  • Loading branch information
martinxyz committed Mar 4, 2015
1 parent a349ce2 commit f27029e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ $(document).ready(function(){
// $().uxmessage('notice', gcode.replace(/\n/g, '<br>'));
send_gcode(gcode, "Stopping ...", false);
var delayedresume = setTimeout(function() {
var gcode = '~\nG90\nM81\nG0X0Y0F'+app_settings.max_seek_speed+'\n' // ~ is resume char
var gcode = '~\nG90\nG0X0Y0F'+app_settings.max_seek_speed+'\nM81\n' // ~ is resume char
// $().uxmessage('notice', gcode.replace(/\n/g, '<br>'));
send_gcode(gcode, "Resetting ...", false);
}, 1000);
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/app_datahandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ DataHandler = {
}
}
// footer
glist.push("M81\nS0\nG0X0Y0F"+app_settings.max_seek_speed+"\n");
glist.push("S0\nG0X0Y0F"+app_settings.max_seek_speed+"\nM81\n");
// alert(JSON.stringify(glist.join('')))
return glist.join('');
},
Expand Down

0 comments on commit f27029e

Please sign in to comment.