Browse Source

Rename preocess_command to process_next_command

Scott Lahteine 9 years ago
parent
commit
46d59784ad
2 changed files with 6 additions and 5 deletions
  1. 0
    1
      Marlin/Marlin.h
  2. 6
    4
      Marlin/Marlin_main.cpp

+ 0
- 1
Marlin/Marlin.h View File

113
 }
113
 }
114
 
114
 
115
 void get_command();
115
 void get_command();
116
-void process_commands();
117
 
116
 
118
 void manage_inactivity(bool ignore_stepper_queue=false);
117
 void manage_inactivity(bool ignore_stepper_queue=false);
119
 
118
 

+ 6
- 4
Marlin/Marlin_main.cpp View File

399
 //================================ Functions ================================
399
 //================================ Functions ================================
400
 //===========================================================================
400
 //===========================================================================
401
 
401
 
402
+void process_next_command();
403
+
402
 bool setTargetedHotend(int code);
404
 bool setTargetedHotend(int code);
403
 
405
 
404
 void serial_echopair_P(const char *s_P, float v)         { serialprintPGM(s_P); SERIAL_ECHO(v); }
406
 void serial_echopair_P(const char *s_P, float v)         { serialprintPGM(s_P); SERIAL_ECHO(v); }
697
           // Write the string from the read buffer to SD
699
           // Write the string from the read buffer to SD
698
           card.write_command(command);
700
           card.write_command(command);
699
           if (card.logging)
701
           if (card.logging)
700
-            process_commands(); // The card is saving because it's logging
702
+            process_next_command(); // The card is saving because it's logging
701
           else
703
           else
702
             SERIAL_PROTOCOLLNPGM(MSG_OK);
704
             SERIAL_PROTOCOLLNPGM(MSG_OK);
703
         }
705
         }
704
       }
706
       }
705
       else
707
       else
706
-        process_commands();
708
+        process_next_command();
707
 
709
 
708
     #else
710
     #else
709
 
711
 
710
-      process_commands();
712
+      process_next_command();
711
 
713
 
712
     #endif // SDSUPPORT
714
     #endif // SDSUPPORT
713
 
715
 
5178
  * Process Commands and dispatch them to handlers
5180
  * Process Commands and dispatch them to handlers
5179
  * This is called from the main loop()
5181
  * This is called from the main loop()
5180
  */
5182
  */
5181
-void process_commands() {
5183
+void process_next_command() {
5182
 
5184
 
5183
   if ((marlin_debug_flags & DEBUG_ECHO)) {
5185
   if ((marlin_debug_flags & DEBUG_ECHO)) {
5184
     SERIAL_ECHO_START;
5186
     SERIAL_ECHO_START;

Loading…
Cancel
Save