Skip to content

Commit

Permalink
Bugfix: Correct pitch for 2nd beep (dist btw fiducials > threshold)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcassani committed Dec 11, 2024
1 parent 10c902a commit f179264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolbox/sensors/panel_digitize_2024.m
Original file line number Diff line number Diff line change
Expand Up @@ -1620,8 +1620,8 @@ function BytesAvailable_Callback(h, ev) %#ok<INUSD>
ctrl.jLabelWarning.setOpaque(true);
ctrl.jLabelWarning.setBackground(java.awt.Color.red);
% Extra beep for large distances
pause(0.15);
sound(Digitize.BeepWav.data, Digitize.BeepWav.fs*.08);
pause(0.25);
sound(Digitize.BeepWav.data, Digitize.BeepWav.fs);
end
end

Expand Down

0 comments on commit f179264

Please sign in to comment.