summaryrefslogtreecommitdiff
path: root/altoslib/AltosGPS.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-03-20 15:09:20 -0700
committerKeith Packard <keithp@keithp.com>2015-03-20 15:09:20 -0700
commitb1b69c8b73cbffb56c688f6a968d144b642cdff2 (patch)
treee54eb4ccbed98014a6ccce31d6144b5a3e2866f1 /altoslib/AltosGPS.java
parent43b4044dc71d44cb25be6397b4d66fd792580eed (diff)
altos/stmf0: Have fast ADC ring buffer code use wrap-around
Instead of requiring that the whole set of returned values fit precisely in the ring, allow for wrap-around so that we can fetch an odd number of ADC values. The previous version required that the fetch amount always be a factor of the ADC buffer size. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosGPS.java')
0 files changed, 0 insertions, 0 deletions