1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-25 17:25:18 +03:00

Merge remote-tracking branch 'upstream/master' into abo_in_flight_mission_planner

This commit is contained in:
breadoven 2021-06-19 23:09:03 +01:00
commit e2b5bf008f
100 changed files with 7889 additions and 1648 deletions

View file

@ -328,7 +328,7 @@ void initActiveBoxIds(void)
#endif
}
#define IS_ENABLED(mask) (mask == 0 ? 0 : 1)
#define IS_ENABLED(mask) ((mask) == 0 ? 0 : 1)
#define CHECK_ACTIVE_BOX(condition, index) do { if (IS_ENABLED(condition)) { activeBoxes[index] = 1; } } while(0)
void packBoxModeFlags(boxBitmask_t * mspBoxModeFlags)