Skip to content

Commit

Permalink
Merge pull request #802 from retiutut/development
Browse files Browse the repository at this point in the history
Fix Spectrogram Timestamps with minus() instead of plus()
  • Loading branch information
retiutut authored Jun 10, 2020
2 parents 8417191 + 4efa4a1 commit ac3c125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenBCI_GUI/W_Spectrogram.pde
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class W_Spectrogram extends Widget {

for (int i = 0; i <= numAxisTicks; i++) {
long l = (long)(horizAxisLabel[i] * 60f);
LocalDateTime t = time.plus(l, ChronoUnit.SECONDS);
LocalDateTime t = time.minus(l, ChronoUnit.SECONDS);
horizAxisLabelStrings.append(t.format(formatter));
}
}
Expand Down

0 comments on commit ac3c125

Please sign in to comment.