|
@@ -109,14 +109,14 @@ void process_lcd_c_command(const char* command) {
|
109
|
109
|
// M104 S<temperature>
|
110
|
110
|
char cmd[20];
|
111
|
111
|
sprintf_P(cmd, PSTR("M104 S%s"), command + 1);
|
112
|
|
- enqueue_and_echo_command_now(cmd, false);
|
|
112
|
+ enqueue_and_echo_command_now(cmd);
|
113
|
113
|
} break;
|
114
|
114
|
|
115
|
115
|
case 'P': {
|
116
|
116
|
// M140 S<temperature>
|
117
|
117
|
char cmd[20];
|
118
|
118
|
sprintf_P(cmd, PSTR("M140 S%s"), command + 1);
|
119
|
|
- enqueue_and_echo_command_now(cmd, false);
|
|
119
|
+ enqueue_and_echo_command_now(cmd);
|
120
|
120
|
} break;
|
121
|
121
|
|
122
|
122
|
default:
|
|
@@ -178,8 +178,8 @@ void process_lcd_j_command(const char* command) {
|
178
|
178
|
case 'E':
|
179
|
179
|
// enable or disable steppers
|
180
|
180
|
// switch to relative
|
181
|
|
- enqueue_and_echo_command_now("G91");
|
182
|
|
- enqueue_and_echo_command_now(steppers_enabled ? "M18" : "M17");
|
|
181
|
+ enqueue_and_echo_commands_now_P(PSTR("G91"));
|
|
182
|
+ enqueue_and_echo_commands_now_P(steppers_enabled ? PSTR("M18") : PSTR("M17"));
|
183
|
183
|
steppers_enabled = !steppers_enabled;
|
184
|
184
|
break;
|
185
|
185
|
case 'A':
|
|
@@ -245,7 +245,7 @@ void process_lcd_p_command(const char* command) {
|
245
|
245
|
break;
|
246
|
246
|
case 'H':
|
247
|
247
|
// Home all axis
|
248
|
|
- enqueue_and_echo_command_now("G28");
|
|
248
|
+ enqueue_and_echo_commands_now_P(PSTR("G28"));
|
249
|
249
|
break;
|
250
|
250
|
default: {
|
251
|
251
|
// Print file 000 - a three digit number indicating which
|