Browse Source

lowercase "stop" function

Scott Lahteine 8 years ago
parent
commit
ac69fad96d
2 changed files with 5 additions and 4 deletions
  1. 0
    1
      Marlin/Marlin.h
  2. 5
    3
      Marlin/Marlin_main.cpp

+ 0
- 1
Marlin/Marlin.h View File

@@ -223,7 +223,6 @@ void ok_to_send();
223 223
 void reset_bed_level();
224 224
 void prepare_move();
225 225
 void kill(const char*);
226
-void Stop();
227 226
 
228 227
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
229 228
   void handle_filament_runout();

+ 5
- 3
Marlin/Marlin_main.cpp View File

@@ -491,6 +491,8 @@ static bool send_ok[BUFSIZE];
491 491
  * ***************************************************************************
492 492
  */
493 493
 
494
+void stop();
495
+
494 496
 void get_available_commands();
495 497
 void process_next_command();
496 498
 
@@ -1761,7 +1763,7 @@ static void setup_for_endstop_move() {
1761 1763
             SERIAL_ERRORLNPGM("Z-Probe failed to engage!");
1762 1764
             LCD_ALERTMESSAGEPGM("Err: ZPROBE");
1763 1765
           }
1764
-          Stop();
1766
+          stop();
1765 1767
         }
1766 1768
 
1767 1769
     #endif // Z_PROBE_ALLEN_KEY
@@ -1865,7 +1867,7 @@ static void setup_for_endstop_move() {
1865 1867
             SERIAL_ERRORLNPGM("Z-Probe failed to retract!");
1866 1868
             LCD_ALERTMESSAGEPGM("Err: ZPROBE");
1867 1869
           }
1868
-          Stop();
1870
+          stop();
1869 1871
         }
1870 1872
     #endif // Z_PROBE_ALLEN_KEY
1871 1873
 
@@ -8017,7 +8019,7 @@ void kill(const char* lcd_msg) {
8017 8019
   }
8018 8020
 #endif // FAST_PWM_FAN
8019 8021
 
8020
-void Stop() {
8022
+void stop() {
8021 8023
   disable_all_heaters();
8022 8024
   if (IsRunning()) {
8023 8025
     Running = false;

Loading…
Cancel
Save