Assume one Max7219 unit if not specified

This commit is contained in:
Roxy-3D 2018-09-05 14:18:13 -05:00 committed by GitHub
parent 9651ceb36b
commit 8d5bea073b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,9 @@
#endif
#define _ROT ((MAX7219_ROTATE + 360) % 360)
#ifndef MAX7219_NUMBER_UNITS
#define MAX7219_NUMBER_UNITS 1
#endif
#define MAX7219_LINES (8 * (MAX7219_NUMBER_UNITS))
#if _ROT == 0 || _ROT == 180