From 92f65bfaf8ed0338df62415637bd32201eff3bac Mon Sep 17 00:00:00 2001 From: joxe Date: Fri, 11 Sep 2009 12:13:59 +0000 Subject: [PATCH] fixed buggy script git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@610 23d1a52b-0c3c-0410-b72d-8f29ab48fe35 --- scripts/duty.sc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/scripts/duty.sc b/scripts/duty.sc index 200fe88..648380f 100755 --- a/scripts/duty.sc +++ b/scripts/duty.sc @@ -1,8 +1,7 @@ -echo "#!type line" >#duty -duty 10 "MSP430 Core.active" CC2420.listen CC2420.transmit "Tmote Sky.0" >#duty -echo "#!" -echo "#!set 0 label CPU" >#duty -echo "#!set 1 label Listen" >#duty -echo "#!set 2 label Transmit" >#duty -echo "#!set 3 label LEDS" >#duty -echo "#!title Duty Cycle" >#duty \ No newline at end of file +echo "#!type line" | window duty +duty 10 "MSP430 Core.active" CC2420.listen CC2420.transmit "Tmote Sky.0" | window duty +echo "#!set 0 label CPU" | window duty +echo "#!set 1 label Listen" | window duty +echo "#!set 2 label Transmit" | window duty +echo "#!set 3 label LEDS" | window duty +echo "#!title Duty Cycle" | window duty \ No newline at end of file