Implement ndl/deco support for the Hollis TX1.
This commit is contained in:
parent
3b0e36ccbf
commit
99300d4e37
@ -773,6 +773,10 @@ oceanic_atom2_parser_samples_foreach (dc_parser_t *abstract, dc_sample_callback_
|
|||||||
decostop = (data[offset + 5] & 0xF0) >> 4;
|
decostop = (data[offset + 5] & 0xF0) >> 4;
|
||||||
decotime = array_uint16_le(data + offset + 4) & 0x0FFF;
|
decotime = array_uint16_le(data + offset + 4) & 0x0FFF;
|
||||||
have_deco = 1;
|
have_deco = 1;
|
||||||
|
} else if (parser->model == TX1) {
|
||||||
|
decostop = data[offset + 10];
|
||||||
|
decotime = array_uint16_le(data + offset + 6);
|
||||||
|
have_deco = 1;
|
||||||
}
|
}
|
||||||
if (have_deco) {
|
if (have_deco) {
|
||||||
if (decostop) {
|
if (decostop) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user