mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Split MSP box code into separate module
This commit is contained in:
parent
e0a7594379
commit
6943fb8e56
14 changed files with 388 additions and 327 deletions
|
@ -55,6 +55,9 @@
|
|||
#define UNUSED(x) (void)(x)
|
||||
#endif
|
||||
#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
|
||||
#define STATIC_ASSERT(condition, name) \
|
||||
typedef char assert_failed_ ## name [(condition) ? 1 : -1 ] __attribute__((unused))
|
||||
|
||||
|
||||
#define BIT(x) (1 << (x))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue