Merge pull request #971 from fdlamotte/remove_set_setting_by_key

SensorManager: remove setSettingByKey
This commit is contained in:
ripplebiz 2025-11-11 23:40:13 +11:00 committed by GitHub
commit ba6b8535c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 16 deletions

View file

@ -154,7 +154,7 @@ protected:
#if ENV_INCLUDE_GPS == 1
void applyGpsPrefs() {
sensors.setSettingByKey("gps", _prefs.gps_enabled?"1":"0");
sensors.setSettingValue("gps", _prefs.gps_enabled?"1":"0");
}
#endif