AutoReport class (Temperature, Cardreader) (#20913)
This commit is contained in:
@@ -36,15 +36,17 @@ void GcodeSuite::M27() {
|
||||
if (parser.seen('C')) {
|
||||
SERIAL_ECHOPGM("Current file: ");
|
||||
card.printFilename();
|
||||
return;
|
||||
}
|
||||
|
||||
#if ENABLED(AUTO_REPORT_SD_STATUS)
|
||||
else if (parser.seenval('S'))
|
||||
card.set_auto_report_interval(parser.value_byte());
|
||||
if (parser.seenval('S')) {
|
||||
card.auto_reporter.set_interval(parser.value_byte());
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
else
|
||||
card.report_status();
|
||||
card.report_status();
|
||||
}
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
Reference in New Issue
Block a user