Quellcode durchsuchen

getStatus => report_status

Scott Lahteine vor 6 Jahren
Ursprung
Commit
fb8111553e

+ 1
- 1
Marlin/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp Datei anzeigen

@@ -145,7 +145,7 @@ void GcodeSuite::M27() {
145 145
   #endif
146 146
 
147 147
   else
148
-    card.getStatus(
148
+    card.report_status(
149 149
       #if NUM_SERIAL > 1
150 150
         port
151 151
       #endif

+ 2
- 2
Marlin/src/sd/cardreader.cpp Datei anzeigen

@@ -556,7 +556,7 @@ void CardReader::removeFile(const char * const name) {
556 556
   }
557 557
 }
558 558
 
559
-void CardReader::getStatus(
559
+void CardReader::report_status(
560 560
   #if NUM_SERIAL > 1
561 561
     const int8_t port/*= -1*/
562 562
   #endif
@@ -1045,7 +1045,7 @@ void CardReader::printingHasFinished() {
1045 1045
     millis_t current_ms = millis();
1046 1046
     if (auto_report_sd_interval && ELAPSED(current_ms, next_sd_report_ms)) {
1047 1047
       next_sd_report_ms = current_ms + 1000UL * auto_report_sd_interval;
1048
-      getStatus(
1048
+      report_status(
1049 1049
         #if NUM_SERIAL > 1
1050 1050
           serialport
1051 1051
         #endif

+ 1
- 1
Marlin/src/sd/cardreader.h Datei anzeigen

@@ -70,7 +70,7 @@ public:
70 70
       const bool re_sort=false
71 71
     #endif
72 72
   );
73
-  static void getStatus(
73
+  static void report_status(
74 74
     #if NUM_SERIAL > 1
75 75
       const int8_t port = -1
76 76
     #endif

Laden…
Abbrechen
Speichern