]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf230/TrafficMonitorLayerP.nc
implement getChannel and rename interface to RadioChannel
[tinyos-2.x.git] / tos / chips / rf230 / TrafficMonitorLayerP.nc
index 75328ac5679f2f33c3ff1d31ba5d7f8bc1632b9b..144fc0f5541ea52a7dd82be4a5b8f3106c492aad 100644 (file)
@@ -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 )