]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc1000/CC1000CsmaP.nc
update to new debug if
[tinyos-2.x.git] / tos / chips / cc1000 / CC1000CsmaP.nc
index 505f2cfa6458a20b441ffbaa79d69476c051e16f..f5884fd4fb26b0c9bfa2a809e37373677c7b23b4 100644 (file)
@@ -50,7 +50,7 @@
  * @author David Gay
  */
   
-module CC1000CsmaP {
+module CC1000CsmaP @safe() {
   provides {
     interface Init;
     interface SplitControl;
@@ -516,7 +516,7 @@ implementation
   }
 
   command void LowPowerListening.setLocalDutyCycle(uint16_t d) {
-    return call LowPowerListening.setLocalSleepInterval(dutyToSleep(d));
+    call LowPowerListening.setLocalSleepInterval(dutyToSleep(d));
   }
 
   command uint16_t LowPowerListening.getLocalDutyCycle() {