AP_GPS: make AP_GPS_FixType enum class

Don't want "NONE" in the global namespace
This commit is contained in:
Peter Barker 2023-11-02 09:53:13 +11:00 committed by Andrew Tridgell
parent ae2ab08b1f
commit e47a5c1ea9
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
// this is not enum-class as many places in the code want to check for
// "a fix at least this good" using "<".
enum AP_GPS_FixType {
enum class AP_GPS_FixType {
NO_GPS = 0, ///< No GPS connected/detected
NONE = 1, ///< Receiving valid GPS messages but no lock
FIX_2D = 2, ///< Receiving valid messages and 2D lock