]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/Deluge/DelugePageTransfer.h
Add support for MicaZ to Deluge T2.
[tinyos-2.x.git] / tos / lib / net / Deluge / DelugePageTransfer.h
index 6654f732101060ed35e27e6d2d16aaf8c6a560bb..44455b56a7382a81dd34f4ebe509734462a4735a 100644 (file)
 #ifndef DELUGEPAGETRANSFER_H
 #define DELUGEPAGETRANSFER_H
 
-#include "extra/telosb/TOSBoot_platform.h"
+#if defined(PLATFORM_TELOSB)
+  #include "extra/telosb/TOSBoot_platform.h"
+#elif defined(PLATFORM_MICAZ)
+  #include "extra/micaz/TOSBoot_platform.h"
+#else
+  #error "Target platform is not currently supported by Deluge T2"
+#endif
+
 #include <message.h>
 
 #define AM_DELUGEADVMSG  161