Skip to content

Commit

Permalink
Fixed missing variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjarosik authored Oct 28, 2020
1 parent 88b8bde commit 4973be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/matlab/arrus/Us4R.m
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ function setSeqParams(obj,varargin)
%% Active channels group mask
if obj.sys.adapType == -1
[~,I] = sort(obj.sys.rxChannelMap.');
obj.seq.actChanGroupMask = reshape(any(reshape(obj.sys.actChan(I + (0:(nArius-1))*128), 8, 16, [])), 16, []);
obj.seq.actChanGroupMask = reshape(any(reshape(obj.sys.actChan(I + (0:(obj.sys.nArius-1))*128), 8, 16, [])), 16, []);
% for future: some other adapters (esaote, atl/philips)
% can have a similar problem as esaote2 but on a much smaller scale
else
Expand Down

0 comments on commit 4973be6

Please sign in to comment.