AP_AHRS: remove FLAG_NONE; it's not a flag, it's a bitmask value

This commit is contained in:
Peter Barker 2020-10-17 19:46:50 +11:00 committed by Andrew Tridgell
parent 1ef92bb691
commit 565b29a72c
1 changed files with 1 additions and 2 deletions

View File

@ -49,12 +49,11 @@
class AP_AHRS_NavEKF : public AP_AHRS_DCM {
public:
enum Flags {
FLAG_NONE = 0,
FLAG_ALWAYS_USE_EKF = 0x1,
};
// Constructor
AP_AHRS_NavEKF(uint8_t flags = FLAG_NONE);
AP_AHRS_NavEKF(uint8_t flags = 0);
// initialise
void init(void) override;