mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-11 09:43:08 +03:00
When build.core is not defined, fall back to "arduino". Fixes #2635
This commit is contained in:
@@ -319,4 +319,12 @@ public class PreferencesMap extends LinkedHashMap<String, String> {
|
||||
return new Boolean(prev);
|
||||
}
|
||||
|
||||
public String get(String key, String defaultValue) {
|
||||
String value = get(key);
|
||||
if (value != null) {
|
||||
return value;
|
||||
}
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user