1
0
Fork 0
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:
Martin Budden 2017-07-19 08:58:37 +01:00
parent e0a7594379
commit 6943fb8e56
14 changed files with 388 additions and 327 deletions

View file

@ -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))