[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/handhelds/tos/lib/RovingNetworks
RovingNetworksM.nc, 1.6, 1.7
steve ayer
ayer1 at users.sourceforge.net
Mon Nov 19 13:24:31 PST 2007
Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/lib/RovingNetworks
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv6855
Modified Files:
RovingNetworksM.nc
Log Message:
removed led twiddling
increased reset hold (100 to 200 loops, 500 "usec" each) to reflect
shorter clock pulse width with 8mhz clock used by some apps.
Index: RovingNetworksM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/lib/RovingNetworks/RovingNetworksM.nc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** RovingNetworksM.nc 19 Nov 2007 18:59:22 -0000 1.6
--- RovingNetworksM.nc 19 Nov 2007 21:24:26 -0000 1.7
***************
*** 99,103 ****
*/
TOSH_SET_BT_RESET_PIN();
! for(i = 0; i < 100 ; i++) // == 500k us
TOSH_uwait(5000);
--- 99,103 ----
*/
TOSH_SET_BT_RESET_PIN();
! for(i = 0; i < 200 ; i++) // == 500k us
TOSH_uwait(5000);
***************
*** 352,356 ****
incomingMsg = call MessagePool.alloc();
! call Leds.init();
initRN();
--- 352,356 ----
incomingMsg = call MessagePool.alloc();
! // call Leds.init();
initRN();
***************
*** 446,453 ****
async event void RTSInterrupt.fired() {
if (call RTSInterrupt.getValue() == TRUE) {
- call Leds.redOn();
transmissionOverflow = 1;
call RTSInterrupt.edge(FALSE);
- // call Leds.redOn();
}
else{
--- 446,451 ----
***************
*** 455,459 ****
post sendNextChar();
call RTSInterrupt.edge(TRUE);
- call Leds.redOff();
}
atomic call RTSInterrupt.clear();
--- 453,456 ----
More information about the Tinyos-contrib-commits
mailing list