mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
SensorManager: remove setSettingByKey
This commit is contained in:
parent
f085a9d6c5
commit
37dc715a8e
5 changed files with 6 additions and 16 deletions
|
|
@ -34,14 +34,4 @@ public:
|
|||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool setSettingByKey(const char* key, const char* value) {
|
||||
int num = getNumSettings();
|
||||
for (int i = 0; i < num; i++) {
|
||||
if (strcmp(getSettingName(i), key) == 0) {
|
||||
return setSettingValue(key, value);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue