Skip to content

Commit

Permalink
fix: fixed other issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AsCress authored and marcnause committed Nov 4, 2024
1 parent d07e97b commit 7e0fc17
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,6 @@ public void autoScale() {
timeGap = (2 * xAxisScale * 1000.0) / samples;

axisScale.setXAxisScale(xAxisScale);
// TODO: Anashuman, is this correct?
axisScale.setLeftYAxisScale(yAxisScale);
axisScale.setRightYAxisScale(yAxisScale);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class ChannelParametersFragment extends Fragment {

private static final int RECORD_AUDIO_REQUEST_CODE = 1;

private static final double[] VOLTAGE_VALUES = {16, 8, 4, 3, 2, 1.5, 1, 500, 160};
private static final double[] VOLTAGE_VALUES = {16, 8, 4, 3, 2, 1.5, 1, 0.5, 160};

private Spinner spinnerRangeCh1;
private Spinner spinnerRangeCh2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ public void onStopTrackingTouch(SeekBar seekBar) {
seekBarHorizontalOffset.setProgress(100);
seekBarHorizontalOffset.setProgress(0);

// TODO: Anashuman, is this correct?
seekBarVerticalOffset.setters(-1 * axisScale.getLeftYAxisScaleUpper(), axisScale.getLeftYAxisScaleUpper());
seekBarVerticalOffset.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
@Override
Expand Down

0 comments on commit 7e0fc17

Please sign in to comment.