Skip to content

Commit

Permalink
allow .nc and .gcode
Browse files Browse the repository at this point in the history
  • Loading branch information
stewartoallen committed Jan 18, 2021
1 parent c27ac45 commit 4a83b83
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/js/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,7 @@ if (!port) {
baud = nbaud;
}
if (nmode) {
mode = nmode;
mode = status.device.mode = nmode;
}
startup();
});
Expand Down
12 changes: 6 additions & 6 deletions src/marlin/2.0.x/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

//===========================================================================
Expand Down
2 changes: 1 addition & 1 deletion src/web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
}
Expand Down

0 comments on commit 4a83b83

Please sign in to comment.