matthias-bs / BresserWeatherSensorReceiver

Bresser 5-in-1/6-in-1/7-in-1 868 MHz Weather Sensor Radio Receiver for Arduino based on CC1101, SX1276/RFM95W or SX1262
MIT License
121 stars 23 forks source link

getSensorsInc()/getSensorsExc() always return values from Preferences, even if default values are used #179

Closed matthias-bs closed 5 months ago

matthias-bs commented 5 months ago

If entries in Preferences are empty (or 0x00000000), the default values SENSOR_IDS_INC/SENSOR_IDS_EXC from WeatherSensorCfg.h shall be applied by initList() and returned by getSensorsInc()/getSensorsExc().

Same root cause as in https://github.com/matthias-bs/BresserWeatherSensorLW/issues/67