Skip to content

Commit

Permalink
Fix regression (weather dead after FVU) introduced by #31
Browse files Browse the repository at this point in the history
  • Loading branch information
akasaka committed Dec 20, 2024
1 parent 4c0e345 commit 216ab66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/service/prefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ inline void init_store_if_needed() {
#ifdef WEATHER_API_KEY
prefs_set_string(PREFS_KEY_WEATHER_APIKEY, String(WEATHER_API_KEY));
#endif
#ifdef WEATHER_LAT
prefs_set_string(PREFS_KEY_WEATHER_LAT, String(WEATHER_LAT));
#endif
#ifdef WEATHER_LON
prefs_set_string(PREFS_KEY_WEATHER_LON, String(WEATHER_LON));
#endif
#ifdef FVU_SERVER_URL
prefs_set_string(PREFS_KEY_FVU_SERVER, String(FVU_SERVER_URL));
prefs_set_bool(PREFS_KEY_FVU_AUTO_CHECK, true);
Expand Down

0 comments on commit 216ab66

Please sign in to comment.