diff --git a/test/ADRV9002Tests.m b/test/ADRV9002Tests.m index 3dba5825..7042ecd8 100644 --- a/test/ADRV9002Tests.m +++ b/test/ADRV9002Tests.m @@ -321,7 +321,7 @@ function testADRV9002ManualGainControlError(testCase) rx.CustomStreamFileName = which('lte_5_cmos_api_68_0_6.stream'); rx.DigitalGainControlModeChannel0 = 'spi'; - rx.InterfaceGainChannel0 = rx.InterfaceGainAvailableChannel0{1}; + rx.InterfaceGainChannel0 = '0dB'; verifyError(testCase, @() rx(), ?MException); end @@ -335,8 +335,9 @@ function testADRV9002ManualGainControl(testCase) rx.CustomStreamFileName = which('lte_5_cmos_api_68_0_6.stream'); rx.DigitalGainControlModeChannel0 = 'spi'; - rx.InterfaceGainChannel0 = rx.InterfaceGainAvailableChannel0{1}; + rx.InterfaceGainChannel0 = '0dB'; [~,valid] = rx(); + rx.InterfaceGainChannel0 = rx.InterfaceGainAvailableChannel0{1}; testCase.assertTrue(valid); end