complete double buffering for queueing xfer for lpc11u/13u requried by msc device

This commit is contained in:
hathach
2013-11-14 14:12:07 +07:00
parent 7d84139bd4
commit 6e8440afe5
11 changed files with 145 additions and 102 deletions

View File

@@ -66,7 +66,7 @@
#define BIT_CLR_(x, n) ( (x) & (~BIT_(n)) )
/// test n-th bit of x
#define BIT_TEST_(x, n) ( (x) & BIT_(n) )
#define BIT_TEST_(x, n) ( ((x) & BIT_(n)) ? true : false )
#if defined(__GNUC__) && !defined(__CC_ARM)