[Tinyos-beta-commits] CVS: tinyos-1.x/beta/SystemCore/Hello
HelloC.nc, 1.20, 1.21 HelloM.nc, 1.25, 1.26
Gilman Tolle
gtolle at users.sourceforge.net
Tue Sep 7 15:15:41 PDT 2004
Update of /cvsroot/tinyos/tinyos-1.x/beta/SystemCore/Hello
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28859/Hello
Modified Files:
HelloC.nc HelloM.nc
Log Message:
Added XSM Sounder to Deployer Response
Debug/Testing code for Drip and PowerMgmt
Cleanups
Added a copy of the most recent compiled XSM binary.
Index: HelloC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/SystemCore/Hello/HelloC.nc,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** HelloC.nc 6 Sep 2004 21:51:25 -0000 1.20
--- HelloC.nc 7 Sep 2004 22:15:38 -0000 1.21
***************
*** 41,45 ****
StdControl = MgmtAttrsC;
! SNMSControl = HelloM;
HelloM.Leds -> LedsC.Leds;
--- 41,45 ----
StdControl = MgmtAttrsC;
! SNMSControl = HelloM.SNMSControl;
HelloM.Leds -> LedsC.Leds;
Index: HelloM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/SystemCore/Hello/HelloM.nc,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** HelloM.nc 6 Sep 2004 21:51:25 -0000 1.25
--- HelloM.nc 7 Sep 2004 22:15:39 -0000 1.26
***************
*** 146,151 ****
call Sounder.start();
#elif defined(BOARD_XSM)
! call Sounder.setInterval(2000);
! call Sounder.Beep(2000);
#endif
--- 146,150 ----
call Sounder.start();
#elif defined(BOARD_XSM)
! call Sounder.setInterval(7372800UL/(2*4000));
#endif
***************
*** 183,186 ****
--- 182,188 ----
case BLINK_BOOTUP:
if (blinkCount > 1) {
+ #if defined(BOARD_XSM)
+ call Sounder.Beep(0xffff);
+ #endif
startHelloMsg();
***************
*** 323,327 ****
call Sounder.start();
#elif defined(BOARD_XSM)
! call Sounder.Beep(2000);
#endif
}
--- 325,330 ----
call Sounder.start();
#elif defined(BOARD_XSM)
! call Sounder.setInterval(7372800UL/(2*4000));
! call Sounder.Beep(0xffff);
#endif
}
More information about the Tinyos-beta-commits
mailing list