[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/mica2dot hardware.h, 1.2, 1.3

David Gay idgay at users.sourceforge.net
Fri Aug 11 13:48:22 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/mica2dot
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv15475/mica2dot

Modified Files:
	hardware.h 
Log Message:
add timer 0 threshold for ext standby vs power save sleep mode selection


Index: hardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/mica2dot/hardware.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** hardware.h	12 Jul 2006 17:02:56 -0000	1.2
--- hardware.h	11 Aug 2006 20:48:19 -0000	1.3
***************
*** 42,47 ****
--- 42,54 ----
  #define HARDWARE_H
  
+ #ifndef MHZ
+ /* Clock rate is 4MHz except if specified by user 
+    (this value must be a power of 2, see MicaTimer.h and MeasureClockC.nc) */
+ #define MHZ 4
+ #endif
+ 
  #include <atm128hardware.h>
  #include <Atm128Adc.h>
+ #include <MicaTimer.h>
  
  // A/D channels
***************
*** 51,60 ****
  };
  
- #ifndef MHZ
- /* Clock rate is 4MHz except if specified by user 
-    (this value must be a power of 2, see MicaTimer.h and MeasureClockC.nc) */
- #define MHZ 4
- #endif
- 
  enum {
    PLATFORM_BAUDRATE = 19200L
--- 58,61 ----



More information about the Tinyos-2-commits mailing list