mirror of https://github.com/ArduPilot/ardupilot
AP_GPS: make AP_GPS_FixType enum class
Don't want "NONE" in the global namespace
This commit is contained in:
parent
ae2ab08b1f
commit
e47a5c1ea9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue