From cd2fbcdbd86d5fa616a7d44df0cfe6afcc82b295 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Thu, 5 Oct 2006 11:53:13 +0000 Subject: [PATCH] updated for new mote state enum type --- .../cooja/examples/userplatform_debug/java/MoteDebugger.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cooja/examples/userplatform_debug/java/MoteDebugger.java b/tools/cooja/examples/userplatform_debug/java/MoteDebugger.java index 80f5dec48..f15d78f84 100644 --- a/tools/cooja/examples/userplatform_debug/java/MoteDebugger.java +++ b/tools/cooja/examples/userplatform_debug/java/MoteDebugger.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: MoteDebugger.java,v 1.2 2006/09/06 12:26:33 fros4943 Exp $ + * $Id: MoteDebugger.java,v 1.3 2006/10/05 11:53:13 fros4943 Exp $ */ import java.awt.event.*; @@ -148,7 +148,7 @@ public class MoteDebugger extends VisPlugin {; logger.info("Sleeping 2500 ms while starting up GDB"); Thread.sleep(2500); logger.info("Ticking chosen mote now! (setting state to active)"); - moteToDebug.setState(Mote.STATE_ACTIVE); + moteToDebug.setState(Mote.State.ACTIVE); moteToDebug.tick(GUI.currentSimulation.getSimulationTime()); gdbProcess.waitFor();