sforkowany z mirror/meshtastic-firmware
1.2-legacy
rodzic
b101dc2c88
commit
76f21dfd6e
|
@ -107,7 +107,7 @@ uint32_t GPS::getValidTime()
|
||||||
/// Returns true if we think the board can enter deep or light sleep now (we might be trying to get a GPS lock)
|
/// Returns true if we think the board can enter deep or light sleep now (we might be trying to get a GPS lock)
|
||||||
bool GPS::canSleep()
|
bool GPS::canSleep()
|
||||||
{
|
{
|
||||||
return !wantNewLocation;
|
return true; // we leave GPS on during sleep now, so sleep is okay !wantNewLocation;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Prepare the GPS for the cpu entering deep or light sleep, expect to be gone for at least 100s of msecs
|
/// Prepare the GPS for the cpu entering deep or light sleep, expect to be gone for at least 100s of msecs
|
||||||
|
|
Ładowanie…
Reference in New Issue