Cleanups for STM32F7
This commit is contained in:
parent
a0246c5c96
commit
42933c804a
18 changed files with 988 additions and 1293 deletions
|
|
@ -120,6 +120,7 @@
|
|||
// Macros to contrain values
|
||||
#define NOLESS(v,n) do{ if (v < n) v = n; }while(0)
|
||||
#define NOMORE(v,n) do{ if (v > n) v = n; }while(0)
|
||||
#define LIMIT(v,n1,n2) do{ if (v < n1) v = n1; else if (v > n2) v = n2; }while(0)
|
||||
|
||||
// Macros to support option testing
|
||||
#define _CAT(a, ...) a ## __VA_ARGS__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue