Selaa lähdekoodia

Assume one Max7219 unit if not specified

Roxy-3D 6 vuotta sitten
vanhempi
commit
8d5bea073b
No account linked to committer's email address
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3
    0
      Marlin/src/feature/Max7219_Debug_LEDs.h

+ 3
- 0
Marlin/src/feature/Max7219_Debug_LEDs.h Näytä tiedosto

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

Loading…
Peruuta
Tallenna