Oddly, finishing a sample doesn't require a sample

So let's not pass it around

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2012-01-04 22:01:02 -08:00
parent 854391419f
commit 1d6903c65a
5 changed files with 6 additions and 6 deletions

View file

@ -231,7 +231,7 @@ void uemis_parse_divelog_binary(char *base64, void *datap) {
sample->cylinderindex = u_sample->active_tank;
sample->cylinderpressure.mbar= u_sample->tank_pressure * 10;
uemis_event(dive, sample, u_sample);
finish_sample(dive, sample);
finish_sample(dive);
i += 0x25;
u_sample++;
}