RD-5R: add a workaround for firmware bug, when 16 entries in RX group list cause no receive audio.
This commit is contained in:
parent
986bf6642a
commit
5deccda850
6
rd5r.c
6
rd5r.c
@ -631,7 +631,11 @@ static int grouplist_append(int index, int cnum)
|
|||||||
grouplist_t *gl = >->grouplist[index];
|
grouplist_t *gl = >->grouplist[index];
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i=0; i<16; i++) {
|
// RD-5R firmware up to v2.1.6 has a bug:
|
||||||
|
// when all 16 entries in RX group list are occupied,
|
||||||
|
// it stops functioning and no audio is received.
|
||||||
|
// As a workaround, we must use only 15 entries here.
|
||||||
|
for (i=0; i<15; i++) {
|
||||||
if (gl->member[i] == cnum)
|
if (gl->member[i] == cnum)
|
||||||
return 1;
|
return 1;
|
||||||
if (gl->member[i] == 0) {
|
if (gl->member[i] == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user