Browse Source

Assume one Max7219 unit if not specified

Roxy-3D 7 years ago
parent
commit
8d5bea073b
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Marlin/src/feature/Max7219_Debug_LEDs.h

+ 3
- 0
Marlin/src/feature/Max7219_Debug_LEDs.h View File

47
 #endif
47
 #endif
48
 #define _ROT ((MAX7219_ROTATE + 360) % 360)
48
 #define _ROT ((MAX7219_ROTATE + 360) % 360)
49
 
49
 
50
+#ifndef MAX7219_NUMBER_UNITS
51
+  #define MAX7219_NUMBER_UNITS 1
52
+#endif
50
 #define MAX7219_LINES (8 * (MAX7219_NUMBER_UNITS))
53
 #define MAX7219_LINES (8 * (MAX7219_NUMBER_UNITS))
51
 
54
 
52
 #if _ROT == 0 || _ROT == 180
55
 #if _ROT == 0 || _ROT == 180

Loading…
Cancel
Save