diff options
author | Salvador Cuñat <salvador.cunat@gmail.com> | 2015-07-12 20:30:06 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-12 13:58:17 -0700 |
commit | 6b904f94805249bc2409dbb4c64fcaba87b95148 (patch) | |
tree | 6e1e617fa3cd5dcf42ce8c503b19968855168e2c /qt-mobile | |
parent | 4e88140b433fcb7b545126b5c3e439b431eb6dd8 (diff) | |
download | subsurface-6b904f94805249bc2409dbb4c64fcaba87b95148.tar.gz |
OSTCTools - change management of model and dc family
H&W introduced some changes in dc's data structures with FROG and OSTC3
families (types 0x22 and 0x23 in H&W's terms) that I didn't take into
account as we lacked of .dive files to test.
BTW I previously set the model to "0" as it was not stored in the file
but wasn't relevant for the data parsing in MK2, OSTC and OSTC2N/2C
models.
Thanks to Anton's advice we have got some OSTC3 dives to test, so this
patch takes into account the different data structures for different
families, and try to stablish a model number based on device's serial
number, as libdc does.
Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
0 files changed, 0 insertions, 0 deletions