Added indicative text to screen for disabled GPS, made sleep methods private again

This commit is contained in:
code8buster
2022-12-14 19:58:15 -05:00
parent 8507125e98
commit 06be74ae7c
2 changed files with 29 additions and 3 deletions

View File

@@ -131,6 +131,7 @@ class GPS : private concurrency::OSThread
void setNumSatellites(uint8_t n);
private:
/// Prepare the GPS for the cpu entering deep or light sleep, expect to be gone for at least 100s of msecs
/// always returns 0 to indicate okay to sleep
int prepareSleep(void *unused);
@@ -138,7 +139,6 @@ class GPS : private concurrency::OSThread
/// Prepare the GPS for the cpu entering deep sleep, expect to be gone for at least 100s of msecs
/// always returns 0 to indicate okay to sleep
int prepareDeepSleep(void *unused);
private:
/**
* Switch the GPS into a mode where we are actively looking for a lock, or alternatively switch GPS into a low power mode