浏览代码

Disable SIM808 phone functionality when powering on the gps only

tags/v1.2.0
Bertrand Lemasle 6 年前
父节点
当前提交
fcf9a68c0f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      Hardware.cpp

+ 2
- 0
Hardware.cpp 查看文件

@@ -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();
}



正在加载...
取消
保存