add adm server struct
This commit is contained in:
parent
4dfa17f4ef
commit
73271daf0a
2 changed files with 3 additions and 1 deletions
|
|
@ -1062,6 +1062,9 @@ function initModule(file, dir) {
|
||||||
helper.log({module:file});
|
helper.log({module:file});
|
||||||
require(file)({
|
require(file)({
|
||||||
api: api,
|
api: api,
|
||||||
|
adm: {
|
||||||
|
reload: prepareScripts
|
||||||
|
},
|
||||||
const: {
|
const: {
|
||||||
args: args,
|
args: args,
|
||||||
debug: debug,
|
debug: debug,
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
"M83 ; set relative positioning for extruder",
|
"M83 ; set relative positioning for extruder",
|
||||||
"M107 ; turn off filament cooling fan",
|
"M107 ; turn off filament cooling fan",
|
||||||
"G28 ; home axes",
|
"G28 ; home axes",
|
||||||
"G29 ; level bed",
|
|
||||||
"G92 X0 Y0 Z0 E0 ; reset all axes positions",
|
"G92 X0 Y0 Z0 E0 ; reset all axes positions",
|
||||||
"G1 X0 Y0 Z0.25 F180 ; move xy to 0,0 and z 0.25mm over bed",
|
"G1 X0 Y0 Z0.25 F180 ; move xy to 0,0 and z 0.25mm over bed",
|
||||||
"G92 E0 ; zero the extruded",
|
"G92 E0 ; zero the extruded",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue