[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/mica2 hardware.h,
1.1.2.9, 1.1.2.10
David Gay
idgay at users.sourceforge.net
Mon May 1 09:44:26 PDT 2006
Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/mica2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20317a/tos/platforms/mica2
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
hardware.h
Log Message:
update to MHz handling for mica2
Index: hardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/mica2/Attic/hardware.h,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -C2 -d -r1.1.2.9 -r1.1.2.10
*** hardware.h 17 Feb 2006 00:26:48 -0000 1.1.2.9
--- hardware.h 1 May 2006 16:44:24 -0000 1.1.2.10
***************
*** 52,58 ****
};
! enum {
! PLATFORM_MHZ = 8 // Approximate clock frequency (closest power of 2)
! };
#endif //HARDWARE_H
--- 52,60 ----
};
! #ifndef MHZ
! /* Clock rate is ~8MHz except if specified by user
! (this value must be a power of 2, see MicaTimer.h and MeasureClockC.nc) */
! #define MHZ 8
! #endif
#endif //HARDWARE_H
More information about the Tinyos-2-commits
mailing list