Skip to content
Snippets Groups Projects
Commit ce5adbcc authored by Erik von Reis's avatar Erik von Reis
Browse files

RTS: Initialize DAC duotone multiplier values

Initialize the values used to multiply or divide the DAC duotone
in case there are no ADCs or DACs to handle them.
parent fd5bb8de
No related branches found
No related tags found
4 merge requests!439RCG 5.0 release fro deb 10,!395Next dev build,!393RCG: correct dac duotone amplitude,!368RCG: correct dac duotone amplitude
This commit is part of merge request !393. Comments created here will be created in the context of that merge request.
......@@ -105,6 +105,11 @@ mapPciModules( CDS_HARDWARE* pCds )
dacdev = NULL;
status = 0;
// initialize dac duotone multipliers/divisors in case
// we don't have one or the other of DAC or ADC cards
pCds->adcDuoToneDivisor[ 0 ] = 1;
pCds->dacDuoToneMultiplier[ 0 ] = 1;
modCount = map_cards_2_slots ( &cdsPciModules ) ;
// Map and Initialize ADC and DAC modules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment