Merge remote-tracking branch 'origin/master' into develop
commit
2b7f1b0444
|
@ -41,4 +41,4 @@
|
||||||
#define HC595_SHCP A1
|
#define HC595_SHCP A1
|
||||||
#define HC595_DS C15
|
#define HC595_DS C15
|
||||||
#define SHIFT_COL_START 11
|
#define SHIFT_COL_START 11
|
||||||
#define SHIFT_COL_END 19
|
#define SHIFT_COL_END 18
|
||||||
|
|
|
@ -24,10 +24,10 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(SHIFT_COL_START) && defined(SHIFT_COL_END)
|
#if defined(SHIFT_COL_START) && defined(SHIFT_COL_END)
|
||||||
# if ((SHIFT_COL_END - SHIFT_COL_START) > 16)
|
# if ((SHIFT_COL_END - SHIFT_COL_START + 1) > 16)
|
||||||
# define SIZE_T uint32_t
|
# define SIZE_T uint32_t
|
||||||
# define UNSELECT_ALL_COL 0xFFFFFFFF
|
# define UNSELECT_ALL_COL 0xFFFFFFFF
|
||||||
# elif ((SHIFT_COL_END - SHIFT_COL_START) > 8)
|
# elif ((SHIFT_COL_END - SHIFT_COL_START + 1) > 8)
|
||||||
# define SIZE_T uint16_t
|
# define SIZE_T uint16_t
|
||||||
# define UNSELECT_ALL_COL 0xFFFF
|
# define UNSELECT_ALL_COL 0xFFFF
|
||||||
# else
|
# else
|
||||||
|
|
Loading…
Reference in New Issue