]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/dip/DisseminatorP.nc
Changed DIP to Dip
[tinyos-2.x.git] / tos / lib / net / dip / DisseminatorP.nc
index 15ec04cd096b6859b40c0283470a09288328bd27..b3c2ed1b824de43aa4242c90c2e1aa243bf2a1de 100644 (file)
@@ -50,8 +50,8 @@ generic module DisseminatorP(typedef t, dip_key_t key) {
 
   provides interface Init;
 
-  uses interface DisseminationUpdate<dip_data_t> as DIPDisseminationUpdate;
-  uses interface DIPHelp;
+  uses interface DisseminationUpdate<dip_data_t> as DipDisseminationUpdate;
+  uses interface DipHelp;
 
   uses interface Leds;
 }
@@ -63,7 +63,7 @@ implementation {
   }
 
   command error_t Init.init() {
-    call DIPHelp.registerKey(key);
+    call DipHelp.registerKey(key);
     return SUCCESS;
   }
 
@@ -82,9 +82,9 @@ implementation {
   command void AppDisseminationUpdate.change( t* newVal ) {
     memcpy( &valueCache, newVal, sizeof(t) );
     /* Increment the counter and append the local node ID later. */
-    /* DIPLogicC doesn't care what the data actually is,
+    /* DipLogicC doesn't care what the data actually is,
        it just wants the key, so we cast it recklessly */
-    call DIPDisseminationUpdate.change((dip_data_t*)newVal);
+    call DipDisseminationUpdate.change((dip_data_t*)newVal);
   }
 
   command const dip_data_t* DataDisseminationValue.get() {