only toggle gps logger if GPS is in RUNNING state
parent
53fc24ee01
commit
076249bd9f
|
|
@ -50,6 +50,7 @@
|
|||
toggleGPSPower();
|
||||
return;
|
||||
case 2:
|
||||
if (gpsObject.getState() === gpsObject.GPS_RUNNING)
|
||||
gpsObject.toggleGpsLogging();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue