瀏覽代碼

Fixed typo and arranged code

tags/v1.2.0
Bertrand Lemasle 6 年之前
父節點
當前提交
df8deba470
共有 1 個檔案被更改,包括 5 行新增3 行删除
  1. +5
    -3
      Hardware.cpp

+ 5
- 3
Hardware.cpp 查看文件

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

VEBOSE("gpsPowerOn");
VERBOSE("gpsPowerOn");
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();
}



Loading…
取消
儲存