getStatus => report_status
This commit is contained in:
parent
2919f3045d
commit
fb8111553e
|
@ -145,7 +145,7 @@ void GcodeSuite::M27() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
else
|
else
|
||||||
card.getStatus(
|
card.report_status(
|
||||||
#if NUM_SERIAL > 1
|
#if NUM_SERIAL > 1
|
||||||
port
|
port
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -556,7 +556,7 @@ void CardReader::removeFile(const char * const name) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CardReader::getStatus(
|
void CardReader::report_status(
|
||||||
#if NUM_SERIAL > 1
|
#if NUM_SERIAL > 1
|
||||||
const int8_t port/*= -1*/
|
const int8_t port/*= -1*/
|
||||||
#endif
|
#endif
|
||||||
|
@ -1045,7 +1045,7 @@ void CardReader::printingHasFinished() {
|
||||||
millis_t current_ms = millis();
|
millis_t current_ms = millis();
|
||||||
if (auto_report_sd_interval && ELAPSED(current_ms, next_sd_report_ms)) {
|
if (auto_report_sd_interval && ELAPSED(current_ms, next_sd_report_ms)) {
|
||||||
next_sd_report_ms = current_ms + 1000UL * auto_report_sd_interval;
|
next_sd_report_ms = current_ms + 1000UL * auto_report_sd_interval;
|
||||||
getStatus(
|
report_status(
|
||||||
#if NUM_SERIAL > 1
|
#if NUM_SERIAL > 1
|
||||||
serialport
|
serialport
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -70,7 +70,7 @@ public:
|
||||||
const bool re_sort=false
|
const bool re_sort=false
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
static void getStatus(
|
static void report_status(
|
||||||
#if NUM_SERIAL > 1
|
#if NUM_SERIAL > 1
|
||||||
const int8_t port = -1
|
const int8_t port = -1
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue