From 9753ad1301e16d4e543acc3e8887bb1bf0706580 Mon Sep 17 00:00:00 2001 From: Niclas Finne Date: Wed, 23 May 2012 19:04:24 +0200 Subject: [PATCH] Added simulation as argument to moteType.getConfigXML() instead of each MoteType storing a reference to the simulation. --- .../mspsim/src/se/sics/cooja/mspmote/AbstractMspMoteType.java | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/AbstractMspMoteType.java b/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/AbstractMspMoteType.java index 2a6e68361..39fee19bd 100644 --- a/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/AbstractMspMoteType.java +++ b/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/AbstractMspMoteType.java @@ -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 */