Skip to content

Commit 1a3b712

Browse files
authored
allow proper GPS functionality after disable
arduino::GPSClass::end() was missing AT prefix on a command and this was confusing the module
1 parent 505c3d8 commit 1a3b712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/GPS/src/GPS.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ void arduino::GPSClass::end()
197197
_engine = !checkGNSSEngine("^SGPSC: \"Engine\",\"0\"");
198198
}
199199

200-
_serial->write("^SSIO=7,0\r\n", sizeof("^SSIO=7,0\r\n"));
200+
_serial->write("AT^SSIO=7,0\r\n", sizeof("AT^SSIO=7,0\r\n"));
201201
readAndDrop();
202202
}
203203

0 commit comments

Comments
 (0)