Aqualung i770R: _really_ fix the gas mix parsing

Commit fac3c8ff1487 ("Aqualung i770R: fix up gas mix parsing") was
supposed to fix gasmix parsing for the i770R, but because Janice's patch
didn't apply as-is, I had just redone it by hand, and in the process
copied the wrong o2_offset for the i770R, giving (not surprisingly) the
wrong results.

This just fixes my copy-paste error to what Janice actually had
originally.

Mea culpa.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2018-10-05 14:44:33 -07:00
parent 419b0e0498
commit 65ef99981f

View File

@ -464,7 +464,7 @@ oceanic_atom2_parser_cache (oceanic_atom2_parser_t *parser)
o2_offset = 0x24;
ngasmixes = 4;
} else if (parser->model == I770R) {
o2_offset = 0x24;
o2_offset = 0x30;
ngasmixes = 4;
pO2_offset = 2;
} else {