GPS disabled when WifiAP running

This commit is contained in:
richonguzman 2024-09-24 13:01:41 -03:00
parent 3a1ca43b0a
commit 06794b7226
1 changed files with 5 additions and 1 deletions

View File

@ -353,7 +353,11 @@ namespace POWER_Utils {
#ifdef HAS_NO_GPS #ifdef HAS_NO_GPS
disableGPS = true; disableGPS = true;
#else #else
disableGPS = Config.disableGPS; if (Config.wifiAP.active) {
disableGPS = true;
} else {
disableGPS = Config.disableGPS;
}
#endif #endif
#ifdef HAS_AXP192 #ifdef HAS_AXP192