Skip to content

Commit

Permalink
Fix uri setting
Browse files Browse the repository at this point in the history
Signed-off-by: Julia Pineda <[email protected]>
  • Loading branch information
jpineda3 committed Jun 13, 2024
1 parent 699ebab commit c87bcaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/AD4630_24Tests.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
methods(TestClassSetup)
% Check hardware connected
function CheckForHardware(testCase)
Device = @()adi.AD4630_24.Rx;
Device = @()adi.AD4630_24.Rx('uri',testCase.uri);
testCase.CheckDevice('ip',Device,testCase.uri(4:end),false);
end
end
Expand Down
3 changes: 2 additions & 1 deletion test/AD7768Tests.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ function CheckForHardware(testCase)
methods (Test)

function testAD7768Smoke(testCase)
adc = adi.AD7768.Rx('uri',testCase.uri);
adc = adi.AD7768.Rx();
adc.uri = testCase.uri;
data = adc();
adc.release();
testCase.assertTrue(sum(abs(double(data)))>0);
Expand Down

0 comments on commit c87bcaf

Please sign in to comment.