]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
nuke a return in a function returning void
authorregehr <regehr>
Thu, 24 Jul 2008 03:43:11 +0000 (03:43 +0000)
committerregehr <regehr>
Thu, 24 Jul 2008 03:43:11 +0000 (03:43 +0000)
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() {