From 4fc2645bc4fce17e1d8a7baef1822697666ffb5c Mon Sep 17 00:00:00 2001 From: lawgicau Date: Tue, 13 Jul 2021 11:39:53 +1000 Subject: [PATCH] Add M501 to end gcode #169 Avoid the user sending M500 and saving temporary test settings for acceleration, etc. --- js/commongcode.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/commongcode.js b/js/commongcode.js index a6db90a..866f68b 100644 --- a/js/commongcode.js +++ b/js/commongcode.js @@ -18,4 +18,5 @@ var commonEnd = `G28 X0 ; home X axis M106 S0 ; turn off cooling fan M104 S0 ; turn off extruder M140 S0 ; turn off bed -M84 ; disable motors` \ No newline at end of file +M84 ; disable motors +M501 ; restore previous EEPROM values` \ No newline at end of file