mirror of
https://github.com/YuzuZensai/MCUFRIEND_kbv.git
synced 2026-01-31 14:57:48 +00:00
detect 16BIT bus from SPECIAL
This commit is contained in:
@@ -41,8 +41,7 @@
|
|||||||
#define FLIP_VERT (1<<13)
|
#define FLIP_VERT (1<<13)
|
||||||
#define FLIP_HORIZ (1<<14)
|
#define FLIP_HORIZ (1<<14)
|
||||||
|
|
||||||
#if (defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__) || defined(__SAM3X8E__))\
|
#if (defined(USES_16BIT_BUS)) //only comes from SPECIALs
|
||||||
&& (defined(USE_MEGA_16BIT_SHIELD) || defined(USE_DUE_16BIT_SHIELD))
|
|
||||||
#define USING_16BIT_BUS 1
|
#define USING_16BIT_BUS 1
|
||||||
#else
|
#else
|
||||||
#define USING_16BIT_BUS 0
|
#define USING_16BIT_BUS 0
|
||||||
|
|||||||
Reference in New Issue
Block a user