Pārlūkot izejas kodu

Fixed typo and arranged code

tags/v1.2.0
Bertrand Lemasle pirms 6 gadiem
vecāks
revīzija
df8deba470
1 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  1. +5
    -3
      Hardware.cpp

+ 5
- 3
Hardware.cpp Parādīt failu

@@ -61,10 +61,12 @@ namespace hardware {
return; return;
} }


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




Notiek ielāde…
Atcelt
Saglabāt