From 701742374b8b9d1b946fffa6664090be3ca79062 Mon Sep 17 00:00:00 2001 From: Todd Herbert Date: Wed, 5 Jun 2024 22:41:01 +1200 Subject: [PATCH] Reorder GPSPowerState enum Possibly more intuitive when reading logs --- src/gps/GPS.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gps/GPS.h b/src/gps/GPS.h index b6685cce34..e9ec111a75 100644 --- a/src/gps/GPS.h +++ b/src/gps/GPS.h @@ -39,9 +39,9 @@ typedef enum { } GPS_RESPONSE; enum GPSPowerState : uint8_t { - GPS_OFF, - GPS_STANDBY, - GPS_AWAKE, + GPS_OFF = 0, + GPS_AWAKE = 1, + GPS_STANDBY = 2, }; // Generate a string representation of DOP