Browse Source

Comment some globals

Scott Lahteine 8 years ago
parent
commit
48e63c4730
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Marlin/Marlin_main.cpp

+ 3
- 0
Marlin/Marlin_main.cpp View File

@@ -402,8 +402,10 @@ uint8_t active_extruder = 0;
402 402
 // Relative Mode. Enable with G91, disable with G90.
403 403
 static bool relative_mode = false;
404 404
 
405
+// For M109 and M190, this flag may be cleared (by M108) to exit the wait loop
405 406
 volatile bool wait_for_heatup = true;
406 407
 
408
+// For M0/M1, this flag may be cleared (by M108) to exit the wait-for-user loop
407 409
 #if ENABLED(EMERGENCY_PARSER) && DISABLED(ULTIPANEL)
408 410
   volatile bool wait_for_user = false;
409 411
 #endif
@@ -412,6 +414,7 @@ const char errormagic[] PROGMEM = "Error:";
412 414
 const char echomagic[] PROGMEM = "echo:";
413 415
 const char axis_codes[NUM_AXIS] = {'X', 'Y', 'Z', 'E'};
414 416
 
417
+// Number of characters read in the current line of serial input
415 418
 static int serial_count = 0;
416 419
 
417 420
 const int sensitive_pins[] = SENSITIVE_PINS; ///< Sensitive pin list for M42

Loading…
Cancel
Save