Uses the "set" flag in radioinfo.
FossilOrigin-Name: 393ce225e44e460a2751b1157f0804456910f6f003eabd75031f652f90793f1c
This commit is contained in:
parent
04cac14b42
commit
6d68a54985
@ -40,7 +40,8 @@ int wtpinfo_readelem_wtp_radio_info(struct wtpinfo * wtpinfo,int type,uint8_t *m
|
||||
|
||||
|
||||
int rid=*msgelem & 0x1f;
|
||||
|
||||
|
||||
wtpinfo->radioinfo[rid].set=1;
|
||||
wtpinfo->radioinfo[rid].rid=rid;
|
||||
wtpinfo->radioinfo[rid].type=ntohl(*(uint32_t*)(msgelem+1));
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user