mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-03-01 10:35:23 +00:00
Set port_num to software limit for modulators (fixes #8118)
This commit is contained in:
parent
0d9752284e
commit
a9f1cb3e5a
@ -490,7 +490,10 @@ static int mod_fsm_setup(struct ddb *dev, u32 MaxUsedChannels)
|
||||
return -1;
|
||||
|
||||
if (MaxUsedChannels == 0)
|
||||
{
|
||||
MaxUsedChannels = (Capacity & FSM_CAPACITY_CUR) >> 16;
|
||||
dev->port_num = MaxUsedChannels;
|
||||
}
|
||||
|
||||
if (MaxUsedChannels <= 1)
|
||||
ddbwritel(dev, FSM_GAIN_N1, FSM_GAIN);
|
||||
|
Loading…
x
Reference in New Issue
Block a user