]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/Deluge/extra/NetProgM.nc
Added faster baud rate speed when using sm16cf to program Mulle.
[tinyos-2.x.git] / tos / lib / net / Deluge / extra / NetProgM.nc
index 95f4d30bf35670344ef39ef5260a3a3bc116716e..94368143db2258a529b2bd941ba4b77a4ff3e79d 100644 (file)
@@ -40,7 +40,7 @@ module NetProgM {
     interface InternalFlash as IFlash;
     interface Crc;
     interface Leds;
-#if !defined(PLATFORM_MULLE)
+#if !defined(PLATFORM_TINYNODE) && !defined(PLATFORM_MULLE)
     interface CC2420Config;
 #endif
     async command void setAmAddress(am_addr_t a);
@@ -62,9 +62,10 @@ implementation {
       TOS_NODE_ID = bootArgs.address;
       call setAmAddress(bootArgs.address);
     }
+#if !defined(PLATFORM_TINYNODE) && !defined(PLATFORM_MULLE)
     call CC2420Config.setShortAddr(bootArgs.address);
     call CC2420Config.sync();
-    
+#endif    
     return SUCCESS;
   }
   
@@ -115,5 +116,7 @@ implementation {
     }
   }
 
+#if !defined(PLATFORM_TINYNODE) && !defined(PLATFORM_MULLE)
   event void CC2420Config.syncDone(error_t error) {}
+#endif
 }