]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosboot/micaz/hardware.h
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / lib / tosboot / micaz / hardware.h
index b5e88e129676bbb62c946d47f6be45303f6dbc8e..bcefd362cb34e0847b8e70d8fb56dc80c89da458 100644 (file)
 #include <atm128hardware.h>
 #include <avrhardware.h>
 
+#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 
+
 typedef uint32_t in_flash_addr_t;
 typedef uint32_t ex_flash_addr_t;