mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-15 12:27:50 +00:00
Added simulation as argument to moteType.getConfigXML() instead of each MoteType storing a reference to the simulation.
This commit is contained in:
@@ -63,7 +63,6 @@ public abstract class AbstractMspMoteType extends MspMoteType {
|
|||||||
@Override
|
@Override
|
||||||
public boolean configureAndInit(Container parentContainer, Simulation simulation, boolean visAvailable)
|
public boolean configureAndInit(Container parentContainer, Simulation simulation, boolean visAvailable)
|
||||||
throws MoteTypeCreationException {
|
throws MoteTypeCreationException {
|
||||||
this.simulation = simulation;
|
|
||||||
|
|
||||||
/* SPECIAL CASE: Cooja started in applet.
|
/* SPECIAL CASE: Cooja started in applet.
|
||||||
* Use preconfigured Contiki firmware */
|
* Use preconfigured Contiki firmware */
|
||||||
|
Reference in New Issue
Block a user