SensorManager: remove setSettingByKey

This commit is contained in:
Florent committed 2025-10-18 23:37:58 +02:00
1 parent 165c168055
commit 8d54a107ec
5 files changed
+6 -16

No files matched your search

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