Selaa lähdekoodia

getStatus => report_status

Scott Lahteine 6 vuotta sitten
vanhempi
commit
fb8111553e

+ 1
- 1
Marlin/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp Näytä tiedosto

145
   #endif
145
   #endif
146
 
146
 
147
   else
147
   else
148
-    card.getStatus(
148
+    card.report_status(
149
       #if NUM_SERIAL > 1
149
       #if NUM_SERIAL > 1
150
         port
150
         port
151
       #endif
151
       #endif

+ 2
- 2
Marlin/src/sd/cardreader.cpp Näytä tiedosto

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

+ 1
- 1
Marlin/src/sd/cardreader.h Näytä tiedosto

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

Loading…
Peruuta
Tallenna