Fix in reading fixed position from preferences

pull/16/head
Łukasz Nidecki 2021-02-19 01:57:56 +01:00
parent 784937381f
commit 5c56456e3f
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ void setup(){
preferences.putBool(PREF_APRS_LATITUDE_PRESET_INIT, true);
preferences.putString(PREF_APRS_LATITUDE_PRESET, LATIDUDE_PRESET);
}
aprsLatPreset = preferences.getString(LATIDUDE_PRESET);
aprsLatPreset = preferences.getString(PREF_APRS_LATITUDE_PRESET);
if (!preferences.getBool(PREF_APRS_LONGITUDE_PRESET_INIT)){
preferences.putBool(PREF_APRS_LONGITUDE_PRESET_INIT, true);