Correct unused variable warning and typo around GNSS_MODEL_UNKNOWN (#2596)

* Small warning and typo cleanup.

* Update GPS.cpp (missed one instance of GNSS_MODEL_UNKONW)
This commit is contained in:
Max-Plastix
2023-07-08 16:30:52 -07:00
committed by GitHub
parent d8ad2b3f48
commit da389eb787
2 changed files with 4 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ struct uBloxGnssModelInfo {
typedef enum {
GNSS_MODEL_MTK,
GNSS_MODEL_UBLOX,
GNSS_MODEL_UNKONW,
GNSS_MODEL_UNKNOWN,
} GnssModel_t;
// Generate a string representation of DOP
@@ -175,7 +175,7 @@ class GPS : private concurrency::OSThread
uint8_t fixeddelayCtr = 0;
protected:
GnssModel_t gnssModel = GNSS_MODEL_UNKONW;
GnssModel_t gnssModel = GNSS_MODEL_UNKNOWN;
};
// Creates an instance of the GPS class.