begin testing native ublox api

This commit is contained in:
geeksville
2020-03-13 20:30:48 -07:00
parent 4999da0824
commit 9bbd658b9d
7 changed files with 39 additions and 229 deletions

View File

@@ -32,8 +32,8 @@ static void lsEnter()
gps.prepareSleep(); // abandon in-process parsing
if (!isUSBPowered) // FIXME - temp hack until we can put gps in sleep mode, if we have AC when we go to sleep then leave GPS on
setGPSPower(false); // kill GPS power
//if (!isUSBPowered) // FIXME - temp hack until we can put gps in sleep mode, if we have AC when we go to sleep then leave GPS on
// setGPSPower(false); // kill GPS power
}
static void lsIdle()
@@ -76,7 +76,7 @@ static void lsIdle()
static void lsExit()
{
setGPSPower(true); // restore GPS power
// setGPSPower(true); // restore GPS power
gps.startLock();
}