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
 void reset_bed_level();
223
 void reset_bed_level();
224
 void prepare_move();
224
 void prepare_move();
225
 void kill(const char*);
225
 void kill(const char*);
226
-void Stop();
227
 
226
 
228
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
227
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
229
   void handle_filament_runout();
228
   void handle_filament_runout();

+ 5
- 3
Marlin/Marlin_main.cpp View File

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

Loading…
Cancel
Save