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:
parent
d90b1e0640
commit
5d2220c842
14 changed files with 53 additions and 6 deletions
|
@ -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]))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue