GPS disabled when WifiAP running
This commit is contained in:
parent
3a1ca43b0a
commit
06794b7226
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue