]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/rf212/RF212DriverLayerP.nc
simplify default channel configuration
[tinyos-2.x.git] / tos / chips / rf2xx / rf212 / RF212DriverLayerP.nc
index e594bab1c84acee0f2f535f378f42a3ca932bcc4..2a9d35a34987c6529e300944630c4f6daccea69c 100644 (file)
@@ -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();