Skip to content

Commit 7b8c1b9

Browse files
jp-bennettfifieldt
authored andcommitted
Back out detection of L76K via startup messages.
1 parent b29099e commit 7b8c1b9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/gps/GPS.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,11 +1281,13 @@ GnssModel_t GPS::probe(int serialSpeed)
12811281
digitalWrite(PIN_GPS_RESET, !GPS_RESET_MODE);
12821282

12831283
// attempt to detect the chip based on boot messages
1284-
std::vector<ChipInfo> airoha = {{"AG3335", "$PAIR021,AG3335", GNSS_MODEL_AG3335},
1285-
{"AG3352", "$PAIR021,AG3352", GNSS_MODEL_AG3352},
1286-
{"RYS3520", "$PAIR021,REYAX_RYS3520_V2", GNSS_MODEL_AG3352},
1287-
{"UC6580", "UC6580", GNSS_MODEL_UC6580},
1288-
{"L76K", "SW=URANUS", GNSS_MODEL_MTK}};
1284+
std::vector<ChipInfo> airoha = {
1285+
{"AG3335", "$PAIR021,AG3335", GNSS_MODEL_AG3335},
1286+
{"AG3352", "$PAIR021,AG3352", GNSS_MODEL_AG3352},
1287+
{"RYS3520", "$PAIR021,REYAX_RYS3520_V2", GNSS_MODEL_AG3352},
1288+
{"UC6580", "UC6580", GNSS_MODEL_UC6580},
1289+
// as L76K is sort of a last ditch effort, we won't attempt to detect it by startup messages for now.
1290+
/*{"L76K", "SW=URANUS", GNSS_MODEL_MTK}*/};
12891291
GnssModel_t detectedDriver = getProbeResponse(500, airoha, serialSpeed);
12901292
if (detectedDriver != GNSS_MODEL_UNKNOWN) {
12911293
return detectedDriver;

0 commit comments

Comments
 (0)