Add RTT_U8G2 macro
This commit is contained in:
parent
67aa759332
commit
b5d72d73cb
|
@ -14,6 +14,6 @@ path += [cwd + '/sys/rt-thread/port']
|
|||
|
||||
LOCAL_CCFLAGS = ''
|
||||
|
||||
group = DefineGroup('u8g2s', src, depend = [''], CPPPATH = path, LOCAL_CCFLAGS = LOCAL_CCFLAGS)
|
||||
group = DefineGroup('u8g2s', src, depend = [''], CPPPATH = path, LOCAL_CCFLAGS = LOCAL_CCFLAGS, CPPDEFINES=['RTT_U8G2'])
|
||||
|
||||
Return('group')
|
|
@ -188,7 +188,9 @@ uint8_t u8x8_pgm_read_esp(const uint8_t * addr); /* u8x8_8x8.c */
|
|||
#define U8X8_USE_PINS
|
||||
#endif
|
||||
|
||||
#ifdef RTT_U8G2
|
||||
#define U8X8_USE_PINS
|
||||
#endif
|
||||
|
||||
/*==========================================*/
|
||||
/* U8X8 typedefs and data structures */
|
||||
|
|
Loading…
Reference in New Issue