Uses the "set" flag in radioinfo.

FossilOrigin-Name: 393ce225e44e460a2751b1157f0804456910f6f003eabd75031f652f90793f1c
This commit is contained in:
7u83@mail.ru 2014-08-14 21:55:15 +00:00
parent 04cac14b42
commit 6d68a54985

View File

@ -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;