Skip to content

Commit

Permalink
Incorporated GPS fix from other PR
Browse files Browse the repository at this point in the history
Fix is from vshymanskyy#642
  • Loading branch information
jrlanoisTA2023 committed Jan 12, 2024
1 parent cac8da9 commit df79cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TinyGsmClientSIM70xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class TinyGsmSim70xx : public TinyGsmModem<TinyGsmSim70xx<modemType>>,
*/
protected:
// enable GPS
bool enableGPSImpl() {
bool enableGPSImpl(GpsStartMode startMode = GPS_START_AUTO) { // From https://github.com/vshymanskyy/TinyGSM/pull/642
thisModem().sendAT(GF("+CGNSPWR=1"));
if (thisModem().waitResponse() != 1) { return false; }
return true;
Expand Down

0 comments on commit df79cf4

Please sign in to comment.