From fb8111553e1e2622aa739be933ed6273c83d4c56 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 11 Jan 2019 19:50:52 -0600 Subject: [PATCH] getStatus => report_status --- Marlin/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp | 2 +- Marlin/src/sd/cardreader.cpp | 4 ++-- Marlin/src/sd/cardreader.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Marlin/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp b/Marlin/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp index b06765051d..972854d31d 100644 --- a/Marlin/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp +++ b/Marlin/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp @@ -145,7 +145,7 @@ void GcodeSuite::M27() { #endif else - card.getStatus( + card.report_status( #if NUM_SERIAL > 1 port #endif diff --git a/Marlin/src/sd/cardreader.cpp b/Marlin/src/sd/cardreader.cpp index c47bc03dbb..e0d661ea56 100644 --- a/Marlin/src/sd/cardreader.cpp +++ b/Marlin/src/sd/cardreader.cpp @@ -556,7 +556,7 @@ void CardReader::removeFile(const char * const name) { } } -void CardReader::getStatus( +void CardReader::report_status( #if NUM_SERIAL > 1 const int8_t port/*= -1*/ #endif @@ -1045,7 +1045,7 @@ void CardReader::printingHasFinished() { millis_t current_ms = millis(); if (auto_report_sd_interval && ELAPSED(current_ms, next_sd_report_ms)) { next_sd_report_ms = current_ms + 1000UL * auto_report_sd_interval; - getStatus( + report_status( #if NUM_SERIAL > 1 serialport #endif diff --git a/Marlin/src/sd/cardreader.h b/Marlin/src/sd/cardreader.h index b9c71875c8..9031ae9364 100644 --- a/Marlin/src/sd/cardreader.h +++ b/Marlin/src/sd/cardreader.h @@ -70,7 +70,7 @@ public: const bool re_sort=false #endif ); - static void getStatus( + static void report_status( #if NUM_SERIAL > 1 const int8_t port = -1 #endif