X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf2xx%2Frf230%2FRF230DriverLayerP.nc;h=17ea8ffa13a7be06272d0eb33272000c7f184061;hb=21052dc9cf5df187a4afc52eded724cc58859d65;hp=b582d3cdd805d7836ad80f784d329862c825881e;hpb=9a1d6bae5e9d2161daa75089a72df3b9a0edfd67;p=tinyos-2.x.git diff --git a/tos/chips/rf2xx/rf230/RF230DriverLayerP.nc b/tos/chips/rf2xx/rf230/RF230DriverLayerP.nc index b582d3cd..17ea8ffa 100644 --- a/tos/chips/rf2xx/rf230/RF230DriverLayerP.nc +++ b/tos/chips/rf2xx/rf230/RF230DriverLayerP.nc @@ -225,7 +225,7 @@ implementation writeRegister(RF230_PHY_TX_PWR, RF230_TX_AUTO_CRC_ON | (RF230_DEF_RFPOWER & RF230_TX_PWR_MASK)); txPower = RF230_DEF_RFPOWER & RF230_TX_PWR_MASK; - channel = call RF230DriverConfig.getDefaultChannel() & RF230_CHANNEL_MASK; + channel = RF230_DEF_CHANNEL & RF230_CHANNEL_MASK; writeRegister(RF230_PHY_CC_CCA, RF230_CCA_MODE_VALUE | channel); call SLP_TR.set();