Skip to content

Commit ea5b575

Browse files
authored
fix: #2268 Wavegen freq btn problem (#2273)
1 parent 67b1fb3 commit ea5b575

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/src/main/java/io/pslab/activity/WaveGeneratorActivity.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -883,29 +883,29 @@ private void setSeekBar(IndicatorSeekBar seekBar) {
883883
case FREQUENCY:
884884
seekMin = WaveData.FREQ_MIN.getValue();
885885
seekMax = WaveData.FREQ_MAX.getValue();
886-
numTicks = 100;
886+
numTicks = 50;
887887
leastCount = 1;
888888
break;
889889

890890
case PHASE:
891891
seekMin = WaveData.PHASE_MIN.getValue();
892892
seekMax = WaveData.PHASE_MAX.getValue();
893-
numTicks = 73;
893+
numTicks = 50;
894894
leastCount = 1;
895895
break;
896896

897897
case DUTY:
898898
seekMin = WaveData.DUTY_MIN.getValue();
899899
seekMax = WaveData.DUTY_MAX.getValue();
900-
numTicks = 100;
900+
numTicks = 50;
901901
leastCount = 1;
902902
unit = getString(R.string.unit_percent);
903903
break;
904904

905905
default:
906906
seekMin = 0;
907907
seekMax = 5000;
908-
numTicks = 51;
908+
numTicks = 50;
909909
leastCount = 1;
910910
}
911911

0 commit comments

Comments
 (0)