Added simulation as argument to moteType.getConfigXML() instead of each MoteType storing a reference to the simulation.
This commit is contained in:
parent
d2c8cefa18
commit
9753ad1301
@ -63,7 +63,6 @@ public abstract class AbstractMspMoteType extends MspMoteType {
|
||||
@Override
|
||||
public boolean configureAndInit(Container parentContainer, Simulation simulation, boolean visAvailable)
|
||||
throws MoteTypeCreationException {
|
||||
this.simulation = simulation;
|
||||
|
||||
/* SPECIAL CASE: Cooja started in applet.
|
||||
* Use preconfigured Contiki firmware */
|
||||
|
Loading…
Reference in New Issue
Block a user