X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf230%2FTrafficMonitorLayerP.nc;h=144fc0f5541ea52a7dd82be4a5b8f3106c492aad;hb=60f8c4ec4b792c6a99d5ef66ee413e8712a10a1e;hp=75328ac5679f2f33c3ff1d31ba5d7f8bc1632b9b;hpb=2bdca3de5f2b193449d36f974c82626210b9cc9e;p=tinyos-2.x.git diff --git a/tos/chips/rf230/TrafficMonitorLayerP.nc b/tos/chips/rf230/TrafficMonitorLayerP.nc index 75328ac5..144fc0f5 100644 --- a/tos/chips/rf230/TrafficMonitorLayerP.nc +++ b/tos/chips/rf230/TrafficMonitorLayerP.nc @@ -226,6 +226,11 @@ implementation return call SubState.setChannel(channel); } + tasklet_async command uint8_t RadioState.getChannel() + { + return call SubState.getChannel(); + } + task void startStopTimer() { if( radioCmd == RADIO_CMD_TURNON )