Merge git://github.com/libdivecomputer/libdivecomputer into Subsurface-DS9

Pull McLean Extreme fix from Jef Driesen.

The McLean Extreme sample interval was wrong, causing imported dives to
appear twice as long as long as they should.

* git://github.com/libdivecomputer/libdivecomputer:
  Fix the sample interval
This commit is contained in:
Linus Torvalds 2020-09-15 10:39:06 -07:00
commit 2e63eaec16

View File

@ -249,7 +249,7 @@ mclean_extreme_parser_samples_foreach(dc_parser_t *abstract, dc_sample_callback_
unsigned int gasmix[NGASMIXES] = {0};
unsigned int gasmix_previous = INVALID;
const unsigned int interval = 20;
const unsigned int interval = 10;
unsigned int time = 0;
size_t offset = SZ_HEADER;
for (unsigned int i = 0; i < nsamples; ++i) {