mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-10 08:25:23 +00:00
Cooja: Fix command line override of ContikiPath
Without the fix the command line parameter was overwritten by the simulation configuration.
This commit is contained in:
@@ -2790,12 +2790,8 @@ public class GUI extends Observable {
|
||||
* New value
|
||||
*/
|
||||
public static void setExternalToolsSetting(String name, String newVal) {
|
||||
if (specifiedContikiPath != null && "PATH_CONTIKI".equals(name)) {
|
||||
specifiedContikiPath = newVal;
|
||||
} else {
|
||||
currentExternalToolsSettings.setProperty(name, newVal);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Load external tools settings from default file.
|
||||
|
Reference in New Issue
Block a user