int setCCxConfig(){ // load the appropriate config table unsigned char cfg=Config.get(CONFIG_CONFIG_ID); CCx.Setup(cfg); setMyAddress(); setAddressCheck(); setPowerAmplifier(); setRFBeeMode(); return OK; }
int setCCxConfig() { // load the appropriate config table uint8_t cfg = config_get(CONFIG_CONFIG_ID); ccx_setup(cfg); //ccx_read_setup(); // and restore the config settings setMyAddress(); setDstAddress(); setAddressCheck(); setPowerAmplifier(); setRFBeeMode(); return OK; }