mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
Avoid null-pointer exception with old-style third-party hardware folders.
This commit is contained in:
parent
2f8e766588
commit
af932ef0ce
@ -45,6 +45,7 @@ public class TargetPlatform {
|
|||||||
name = _name;
|
name = _name;
|
||||||
folder = _folder;
|
folder = _folder;
|
||||||
boards = new HashMap<String, PreferencesMap>();
|
boards = new HashMap<String, PreferencesMap>();
|
||||||
|
boardsOrder = new ArrayList<String>();
|
||||||
programmers = new HashMap<String, PreferencesMap>();
|
programmers = new HashMap<String, PreferencesMap>();
|
||||||
preferences = new PreferencesMap();
|
preferences = new PreferencesMap();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user