1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

[SKY9X/9XR-PRO] Shift in Switches display

This commit is contained in:
Bertrand Songis 2017-02-12 22:21:18 +01:00
parent d90b1e0640
commit 5d2220c842
14 changed files with 53 additions and 6 deletions

View file

@ -869,6 +869,10 @@ void doLoopCommonActions();
#define BITMASK(bit) (1<<(bit))
#if !defined(UNUSED)
#define UNUSED(x) ((void)(x)) /* to avoid warnings */
#endif
/// returns the number of elements of an array
#define DIM(arr) (sizeof((arr))/sizeof((arr)[0]))