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
5 changed files with 6 additions and 16 deletions

View File

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