Counts radios right
FossilOrigin-Name: ab45add20c7d34fb48d0ff9e2365f6da59d323766650d4eaeeb72dce4394b546
This commit is contained in:
parent
2e2cfbdb71
commit
a4e775f1d3
@ -53,7 +53,7 @@ int cw_out_radio_generic(struct cw_ElemHandler * handler, struct cw_ElemHandlerP
|
||||
radios = cw_ktv_get_byte(params->conn->local_cfg,"wtp-descriptor/max-radios",0);
|
||||
printf("Must put radios: %d\n",radios);
|
||||
|
||||
for(i=1;i<radios;i++){
|
||||
for(i=1;i<radios+1;i++){
|
||||
l = cw_put_radio_generic(handler,i,params,dst+len);
|
||||
printf("put radio %i, returns %d\n",i,l);
|
||||
cw_dbg_elem(DBG_ELEM_OUT,params->conn,params->msgdata->type,handler,dst,l);
|
||||
|
Loading…
Reference in New Issue
Block a user