]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
added MHZ macro (it is required for iris)
authorsallai <sallai>
Fri, 30 Oct 2009 18:55:09 +0000 (18:55 +0000)
committersallai <sallai>
Fri, 30 Oct 2009 18:55:09 +0000 (18:55 +0000)
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;