Ver código fonte

Revert use of enqueue_and_echo_command_now

Scott Lahteine 8 anos atrás
pai
commit
4ed8351e3d
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1
    1
      Marlin/cardreader.cpp
  2. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/cardreader.cpp Ver arquivo

@@ -269,7 +269,7 @@ void CardReader::openAndPrintFile(const char *name) {
269 269
   char cmd[4 + strlen(name) + 1]; // Room for "M23 ", filename, and null
270 270
   sprintf_P(cmd, PSTR("M23 %s"), name);
271 271
   for (char *c = &cmd[4]; *c; c++) *c = tolower(*c);
272
-  enqueue_and_echo_command_now(cmd);
272
+  enqueue_and_echo_command(cmd);
273 273
   enqueue_and_echo_commands_P(PSTR("M24"));
274 274
 }
275 275
 

+ 1
- 1
Marlin/ultralcd.cpp Ver arquivo

@@ -1116,7 +1116,7 @@ static void lcd_control_menu() {
1116 1116
         autotune_temp[e]
1117 1117
       #endif
1118 1118
     );
1119
-    enqueue_and_echo_command_now(cmd);
1119
+    enqueue_and_echo_command(cmd);
1120 1120
   }
1121 1121
 
1122 1122
 #endif //PID_AUTOTUNE_MENU

Carregando…
Cancelar
Salvar