Report sd card progress [FR] #9751 (#9832)

* SD Status auto-report feature
Feature Request #9751
This commit is contained in:
TheSFReader authored and Scott Lahteine committed 2018-02-26 15:38:27 -06:00
1 parent 7bdb98c946
commit eb079959fb
50 files changed
+282 -3

No files matched your search

@@ -115,6 +115,14 @@ void GcodeSuite::M27() {
command_queue_port[cmd_queue_index_r]
#endif
);
#if ENABLED(AUTO_REPORT_SD_STATUS)
if (parser.seenval('S'))
card.set_auto_report_interval(parser.value_byte()
#if NUM_SERIAL > 1
, command_queue_port[cmd_queue_index_r]
#endif
);
#endif
}
/**