mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
AP_Notify: fixed bitfields
This commit is contained in:
parent
e48fcf2df7
commit
bec1c05773
@ -40,12 +40,12 @@ private:
|
||||
|
||||
/// tonealarm_type - bitmask of states we track
|
||||
struct tonealarm_type {
|
||||
bool armed : true; // false = disarmed, true = armed
|
||||
bool failsafe_battery : true; // true if battery failsafe
|
||||
bool gps_glitching : true; // true if gps position is not good
|
||||
bool failsafe_gps : true; // true if gps failsafe
|
||||
bool arming_failed : true; // false = failing checks, true = passed
|
||||
bool parachute_release : true; // true if parachute is being released
|
||||
bool armed : 1; // false = disarmed, true = armed
|
||||
bool failsafe_battery : 1; // true if battery failsafe
|
||||
bool gps_glitching : 1; // true if gps position is not good
|
||||
bool failsafe_gps : 1; // true if gps failsafe
|
||||
bool arming_failed : 1; // false = failing checks, true = passed
|
||||
bool parachute_release : 1; // true if parachute is being released
|
||||
} flags;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user