* @author David Gay
*/
-module CC1000CsmaP {
+module CC1000CsmaP @safe() {
provides {
interface Init;
interface SplitControl;
}
command void LowPowerListening.setLocalDutyCycle(uint16_t d) {
- return call LowPowerListening.setLocalSleepInterval(dutyToSleep(d));
+ call LowPowerListening.setLocalSleepInterval(dutyToSleep(d));
}
command uint16_t LowPowerListening.getLocalDutyCycle() {