X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf2xx%2Frf212%2FRF212DriverLayerP.nc;h=2a9d35a34987c6529e300944630c4f6daccea69c;hb=21052dc9cf5df187a4afc52eded724cc58859d65;hp=e594bab1c84acee0f2f535f378f42a3ca932bcc4;hpb=9a1d6bae5e9d2161daa75089a72df3b9a0edfd67;p=tinyos-2.x.git diff --git a/tos/chips/rf2xx/rf212/RF212DriverLayerP.nc b/tos/chips/rf2xx/rf212/RF212DriverLayerP.nc index e594bab1..2a9d35a3 100644 --- a/tos/chips/rf2xx/rf212/RF212DriverLayerP.nc +++ b/tos/chips/rf2xx/rf212/RF212DriverLayerP.nc @@ -225,7 +225,7 @@ implementation writeRegister(RF212_PHY_TX_PWR, RF212_DEF_RFPOWER); txPower = RF212_DEF_RFPOWER; - channel = call RF212DriverConfig.getDefaultChannel() & RF212_CHANNEL_MASK; + channel = RF212_DEF_CHANNEL & RF212_CHANNEL_MASK; writeRegister(RF212_PHY_CC_CCA, RF212_CCA_MODE_VALUE | channel); call SLP_TR.set();