diff --git a/src/js/server.js b/src/js/server.js index 5529323..0bb48d6 100644 --- a/src/js/server.js +++ b/src/js/server.js @@ -1833,7 +1833,7 @@ if (!port) { baud = nbaud; } if (nmode) { - mode = nmode; + mode = status.device.mode = nmode; } startup(); }); diff --git a/src/marlin/2.0.x/Configuration.h b/src/marlin/2.0.x/Configuration.h index d5b5bc0..245a026 100644 --- a/src/marlin/2.0.x/Configuration.h +++ b/src/marlin/2.0.x/Configuration.h @@ -444,12 +444,12 @@ // Above this temperature the heater will be switched off. // This can protect components from overheating, but NOT from shorts and failures. // (Use MINTEMP for thermistor short/failure protection.) -#define HEATER_0_MAXTEMP 275 -#define HEATER_1_MAXTEMP 275 -#define HEATER_2_MAXTEMP 275 -#define HEATER_3_MAXTEMP 275 -#define HEATER_4_MAXTEMP 275 -#define HEATER_5_MAXTEMP 275 +#define HEATER_0_MAXTEMP 280 +#define HEATER_1_MAXTEMP 280 +#define HEATER_2_MAXTEMP 280 +#define HEATER_3_MAXTEMP 280 +#define HEATER_4_MAXTEMP 280 +#define HEATER_5_MAXTEMP 280 #define BED_MAXTEMP 100 //=========================================================================== diff --git a/src/web/index.js b/src/web/index.js index 3e7082a..d19c7b5 100644 --- a/src/web/index.js +++ b/src/web/index.js @@ -89,7 +89,7 @@ function shutdown() { } function runbox() { - if (selected && selected.ext === 'g') { + if (selected && ["n","g"].indexOf(selected.ext) >= 0) { if (confirm(`run boundary for "${selected.file}" @ ${jog_speed} mm/m`)) { send(`*runbox ${selected.file} @ ${jog_speed}`); }