SensorManager: remove setSettingByKey

This commit is contained in:
Florent 2025-10-18 23:37:58 +02:00
parent f085a9d6c5
commit 37dc715a8e
5 changed files with 6 additions and 16 deletions

View file

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