Detect Sherwater Teric
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ec0029c4ce
commit
12b90c693a
@ -40,6 +40,7 @@ extern "C" {
|
||||
#define PERDIX 5
|
||||
#define PERDIXAI 6
|
||||
#define NERD2 7
|
||||
#define TERIC 8
|
||||
|
||||
#define NSTEPS 10000
|
||||
#define STEP(i,n) ((NSTEPS * (i) + (n) / 2) / (n))
|
||||
|
||||
@ -240,6 +240,9 @@ shearwater_petrel_device_foreach (dc_device_t *abstract, dc_dive_callback_t call
|
||||
case 0x0D0D:
|
||||
model = PERDIXAI;
|
||||
break;
|
||||
case 0x0F0F:
|
||||
model = TERIC;
|
||||
break;
|
||||
default:
|
||||
model = PETREL;
|
||||
WARNING (abstract->context, "Unknown hardware type %04x. Assuming Petrel.", hardware);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user