updated for new mote state enum type
This commit is contained in:
parent
87219929b7
commit
cd2fbcdbd8
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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.*;
|
import java.awt.event.*;
|
||||||
|
@ -148,7 +148,7 @@ public class MoteDebugger extends VisPlugin {;
|
||||||
logger.info("Sleeping 2500 ms while starting up GDB");
|
logger.info("Sleeping 2500 ms while starting up GDB");
|
||||||
Thread.sleep(2500);
|
Thread.sleep(2500);
|
||||||
logger.info("Ticking chosen mote now! (setting state to active)");
|
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());
|
moteToDebug.tick(GUI.currentSimulation.getSimulationTime());
|
||||||
|
|
||||||
gdbProcess.waitFor();
|
gdbProcess.waitFor();
|
||||||
|
|
Loading…
Reference in a new issue