]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc1000/CC1000CsmaP.nc
nuke a return in a function returning void
[tinyos-2.x.git] / tos / chips / cc1000 / CC1000CsmaP.nc
index a462556c7140b85a640de3ba09501b89184885bf..f5884fd4fb26b0c9bfa2a809e37373677c7b23b4 100644 (file)
@@ -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() {