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

* SD Status auto-report feature
Feature Request #9751
This commit is contained in:
TheSFReader
2018-02-26 22:38:27 +01:00
committed by Scott Lahteine
parent 7bdb98c946
commit eb079959fb
50 changed files with 282 additions and 3 deletions

View File

@ -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
}
/**