Skip to content

Commit a8a3ecd

Browse files
committed
Fix new parameter paths.
1 parent aeaa73b commit a8a3ecd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

toolbox/src/bossdevice.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ function stop(obj)
360360
n = obj.getsignal({'UDP Decode','UDP_Decode_Biosignal/Decode UDP Messages/TurboLink Decode',...
361361
'TurboLink_UDP_Decode/MATLAB Function'},1) * 32;
362362
else
363-
n = getparam(obj, {'UDP Decode','UDP_Decode_Biosignal/Decode UDP Messages/NeurOne Decode'},'numEEGch');
363+
n = getparam(obj, '', 'numEEGch');
364364
end
365365
end
366366

@@ -373,15 +373,15 @@ function stop(obj)
373373
if obj.protocol_type == 2 % actiCHamp
374374
warning('Number of EEG channels is determined automically for actiCHamp. This input will be ignored.');
375375
else
376-
setparam(obj, {'UDP Decode','UDP_Decode_Biosignal/Decode UDP Messages/NeurOne Decode'},'numEEGch', n);
376+
setparam(obj, '', 'numEEGch', n);
377377
end
378378
end
379379

380380
function n = get.num_aux_channels(obj)
381381
if obj.protocol_type == 2 % actiCHamp
382382
n = 8;
383383
else
384-
n = getparam(obj, {'UDP Decode','UDP_Decode_Biosignal/Decode UDP Messages/NeurOne Decode'},'numAUXch');
384+
n = getparam(obj, '', 'numAUXch');
385385
end
386386
end
387387

@@ -394,7 +394,7 @@ function stop(obj)
394394
if obj.protocol_type == 2 % actiCHamp
395395
warning('Number of AUX channels is determined automically for actiCHamp. This input will be ignored.');
396396
else
397-
setparam(obj, {'UDP Decode','UDP_Decode_Biosignal/Decode UDP Messages/NeurOne Decode'},'numAUXch', n);
397+
setparam(obj, '', 'numAUXch', n);
398398
end
399399
end
400400

0 commit comments

Comments
 (0)