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

David Gay idgay at users.sourceforge.net
Fri Sep 22 12:23:00 PDT 2006


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

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	hardware.h 
Log Message:
head merge


Index: hardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/mica2dot/hardware.h,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** hardware.h	20 Jun 2006 17:14:29 -0000	1.1.2.3
--- hardware.h	22 Sep 2006 19:22:58 -0000	1.1.2.4
***************
*** 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