diff --git a/.gitignore b/.gitignore index 0c4aa2f..f7e0802 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,8 @@ -node_modules -etc/bedclear -etc/uuid -tmp +/node_modules +/etc/bedclear +/etc/uuid +/tmp +/uploads +/node +/package-lock.json +/node-v* diff --git a/src/web/index.html b/src/web/index.html index 24f1fd0..4252c74 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -131,17 +131,19 @@ +
+
- - + +
diff --git a/src/web/index.js b/src/web/index.js index ae2b171..c6e5d42 100644 --- a/src/web/index.js +++ b/src/web/index.js @@ -205,6 +205,14 @@ function origin_go() { } } +function baby_z_down() { + send(`M290 Z-0.025; M503; *status`); +} + +function baby_z_up() { + send(`M290 Z0.025; M503; *status`); +} + function origin_set() { if (alert_on_run()) return; if (mode === 'fdm' && last_set && last_set.pos) {