mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-11 03:28:36 +01:00
questd: do not offer channels higher than 48
This commit is contained in:
parent
da8182e9ab
commit
3cb253c0ee
1 changed files with 2 additions and 0 deletions
|
|
@ -355,6 +355,8 @@ load_wireless()
|
|||
while (token != NULL)
|
||||
{
|
||||
radio[rno].channels[chn] = atoi(token);
|
||||
if (radio[rno].channels[chn] > 48)
|
||||
break;
|
||||
token = strtok (NULL, " ");
|
||||
chn++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue