diff --git a/esp3d/config.h b/esp3d/config.h index 76944970..e024957a 100644 --- a/esp3d/config.h +++ b/esp3d/config.h @@ -91,7 +91,7 @@ //Serial rx buffer size is 256 but can be extended #define SERIAL_RX_BUFFER_SIZE 512 -//DEBUG Flag do not do this when connected to printer !!! +//DEBUG Flag do not do this when connected to printer unless you know what you are doing!!! //#define DEBUG_ESP3D //#define DEBUG_OUTPUT_SPIFFS //#define DEBUG_OUTPUT_SD @@ -151,7 +151,7 @@ extern "C" { } #include "wifi.h" //version and sources location -#define FW_VERSION "0.9.75" +#define FW_VERSION "0.9.76" #define REPOSITORY "https://github.com/luc-github/ESP3D" typedef enum { diff --git a/esp3d/data/printer.tpl b/esp3d/data/printer.tpl index a111079c..bbb3dbe7 100644 --- a/esp3d/data/printer.tpl +++ b/esp3d/data/printer.tpl @@ -387,7 +387,8 @@ var Efeedrate=$E_FEEDRATE$; function Sendcommand(commandtxt, showresult=false){ var xmlhttp = new XMLHttpRequest(); -var url = "/command?plain="+encodeURIComponent(commandtxt);; +var url = "/command?plain="+encodeURIComponent(commandtxt); +if (!showresult)url = "/command_silent?plain="+encodeURIComponent(commandtxt); if (showresult){ xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status === 200) {