Explorar el Código

Disable SIM808 phone functionality when powering on the gps only

tags/v1.2.0
Bertrand Lemasle hace 6 años
padre
commit
fcf9a68c0f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      Hardware.cpp

+ 2
- 0
Hardware.cpp Ver fichero

@@ -63,6 +63,8 @@ namespace hardware {

VEBOSE("gpsPowerOn");
powerOn();
//SIM808 turns phone on by default but we don't need it
if(!networkPoweredCount) device.setPhoneFunctionality(SIM808_PHONE_FUNCTIONALITY::MINIMUM);
device.enableGps();
}



Cargando…
Cancelar
Guardar