Added simulation as argument to moteType.getConfigXML() instead of each MoteType storing a reference to the simulation.

This commit is contained in:
Niclas Finne 2012-05-23 19:04:24 +02:00
parent d2c8cefa18
commit 9753ad1301

View File

@ -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 */