Make Autotune options into Menu Edit Items

This commit is contained in:
Scott Lahteine
2016-03-21 18:10:08 -07:00
parent e3f583a3be
commit 04fa9d4f47
6 changed files with 68 additions and 28 deletions

View File

@ -247,7 +247,7 @@ void CardReader::openAndPrintFile(const char *name) {
char cmd[4 + (FILENAME_LENGTH + 1) * MAX_DIR_DEPTH + 2]; // Room for "M23 ", names with slashes, a null, and one extra
sprintf_P(cmd, PSTR("M23 %s"), name);
for (char *c = &cmd[4]; *c; c++) *c = tolower(*c);
enqueue_and_echo_command(cmd);
enqueue_and_echo_command_now(cmd);
enqueue_and_echo_commands_P(PSTR("M24"));
}