Browse Source

Revert use of enqueue_and_echo_command_now

pull/1/head
Scott Lahteine 9 years ago
parent
commit
4ed8351e3d
  1. 2
      Marlin/cardreader.cpp
  2. 2
      Marlin/ultralcd.cpp

2
Marlin/cardreader.cpp

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

2
Marlin/ultralcd.cpp

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

Loading…
Cancel
Save