mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
fix for set_custom_var
This commit is contained in:
parent
fb5fcae614
commit
a39c000f5d
3 changed files with 5 additions and 4 deletions
|
|
@ -187,7 +187,7 @@ const char* T1000SensorManager::getSettingValue(int i) const {
|
|||
bool T1000SensorManager::setSettingValue(const char* name, const char* value) {
|
||||
if (strcmp(name, "gps") == 0) {
|
||||
if (strcmp(value, "0") == 0) {
|
||||
stop_gps(); // or should this be sleep_gps() ??
|
||||
sleep_gps(); // sleep for faster fix !
|
||||
} else {
|
||||
start_gps();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue