Browse Source

Add / correct comments

Scott Lahteine 4 years ago
parent
commit
20f93404a7
3 changed files with 6 additions and 2 deletions
  1. 1
    1
      Marlin/Configuration_adv.h
  2. 4
    0
      Marlin/src/gcode/queue.cpp
  3. 1
    1
      Marlin/src/pins/mega/pins_GT2560_V3.h

+ 1
- 1
Marlin/Configuration_adv.h View File

@@ -2989,7 +2989,7 @@
2989 2989
   #define MAX7219_LOAD_PIN  44
2990 2990
 
2991 2991
   //#define MAX7219_GCODE          // Add the M7219 G-code to control the LED matrix
2992
-  #define MAX7219_INIT_TEST    2   // Do a test pattern at initialization (Set to 2 for spiral)
2992
+  #define MAX7219_INIT_TEST    2   // Test pattern at startup: 0=none, 1=sweep, 2=spiral
2993 2993
   #define MAX7219_NUMBER_UNITS 1   // Number of Max7219 units in chain.
2994 2994
   #define MAX7219_ROTATE       0   // Rotate the display clockwise (in multiples of +/- 90°)
2995 2995
                                    // connector at:  right=0   bottom=-90  top=90  left=180

+ 4
- 0
Marlin/src/gcode/queue.cpp View File

@@ -361,6 +361,10 @@ inline void process_stream_char(const char c, uint8_t &sis, char (&buff)[MAX_CMD
361 361
     sis = PS_EOL;               // Skip the rest on overflow
362 362
 }
363 363
 
364
+/**
365
+ * Handle a line being completed. For an empty line
366
+ * keep sensor readings going and watchdog alive.
367
+ */
364 368
 inline bool process_line_done(uint8_t &sis, char (&buff)[MAX_CMD_SIZE], int &ind) {
365 369
   sis = PS_NORMAL;
366 370
   buff[ind] = 0;

+ 1
- 1
Marlin/src/pins/mega/pins_GT2560_V3.h View File

@@ -22,7 +22,7 @@
22 22
 #pragma once
23 23
 
24 24
 /**
25
- * GT3560 RevB + GT2560 V3.0 + GT2560 V3.1 + GT2560 V4.0 pin assignment
25
+ * GT2560 RevB + GT2560 V3.0 + GT2560 V3.1 + GT2560 V4.0 pin assignment
26 26
  */
27 27
 
28 28
 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)

Loading…
Cancel
Save