Commit 707ccd4a authored by Simone Primarosa's avatar Simone Primarosa

Added ability to write configuration on SD

parent b4d3d483
......@@ -825,7 +825,7 @@ void loop() {
char *command = command_queue[cmd_queue_index_r];
if (strstr_P(command, PSTR("M29"))) {
// M29 closes the file
card.closefile();
card.closeFile();
SERIAL_PROTOCOLLNPGM(MSG_FILE_SAVED);
}
else {
......@@ -3791,7 +3791,7 @@ inline void gcode_M17() {
*/
inline void gcode_M30() {
if (card.cardOK) {
card.closefile();
card.closeFile();
char* starpos = strchr(strchr_pointer + 4, '*');
if (starpos) {
char* npos = strchr(command_queue[cmd_queue_index_r], 'N');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment