X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf230%2FRF230LayerP.nc;h=9c0a3624459c23831c40a21e984dadd8b4e1a340;hb=60f8c4ec4b792c6a99d5ef66ee413e8712a10a1e;hp=dac7843912cef78dad90011c6f7b35fe716fe547;hpb=2bdca3de5f2b193449d36f974c82626210b9cc9e;p=tinyos-2.x.git diff --git a/tos/chips/rf230/RF230LayerP.nc b/tos/chips/rf230/RF230LayerP.nc index dac78439..9c0a3624 100644 --- a/tos/chips/rf230/RF230LayerP.nc +++ b/tos/chips/rf230/RF230LayerP.nc @@ -268,6 +268,11 @@ implementation /*----------------- CHANNEL -----------------*/ + tasklet_async command uint8_t RadioState.getChannel() + { + return channel; + } + tasklet_async command error_t RadioState.setChannel(uint8_t c) { c &= RF230_CHANNEL_MASK;