integrate & able to run cmsis-rtx with current code base

This commit is contained in:
hathach
2013-09-13 16:53:17 +07:00
parent 1f573eecf2
commit c71f5c6f1b
22 changed files with 2670 additions and 59 deletions

View File

@@ -57,7 +57,7 @@
#endif
/// n-th Bit
#define BIT_(n) (1 << (n))
#define BIT_(n) (1U << (n))
/// set n-th bit of x to 1
#define BIT_SET_(x, n) ( (x) | BIT_(n) )