load renamed

This commit is contained in:
sanjayk03-dev
2024-01-22 22:48:02 +05:30
parent 18b53388d6
commit e0a2767b00

View File

@@ -72,7 +72,7 @@ module.exports = {
}, },
"state.selected_time": function() { "state.selected_time": function() {
this.load(); this.loadGCode();
}, },
jog_step: function() { jog_step: function() {
@@ -235,7 +235,7 @@ module.exports = {
}, },
ready: function() { ready: function() {
this.load(); this.loadGCode();
setInterval(() => { setInterval(() => {
this.current_time = new Date().toLocaleTimeString(); this.current_time = new Date().toLocaleTimeString();
@@ -531,7 +531,7 @@ module.exports = {
this.state.selected_time=this.config.macros[id].gcode_file_time this.state.selected_time=this.config.macros[id].gcode_file_time
} }
try{ try{
this.load(); this.loadGCode();
this.start_pause(); this.start_pause();
}catch(error){ }catch(error){
console.warn("Error running program: ",error); console.warn("Error running program: ",error);