Shearwater parser: add new harware model nr for Teric
As of firmware 11 at least my Teric identifies as 0x1F0A. Also, just like libdivecomputer upstream, don't assume that an unknown model is a Petrel - that was a stupid thing to do and caused downloads with the Teric to break. Signed-off-by: Dirk Hohndel <dirk@hohndel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
1d09635a58
commit
391c4095f2
@ -241,10 +241,11 @@ shearwater_petrel_device_foreach (dc_device_t *abstract, dc_dive_callback_t call
|
||||
model = PERDIXAI;
|
||||
break;
|
||||
case 0x0F0F:
|
||||
case 0x1F0A:
|
||||
model = TERIC;
|
||||
break;
|
||||
default:
|
||||
model = PETREL;
|
||||
// return a model of 0 which is unknown
|
||||
WARNING (abstract->context, "Unknown hardware type %04x. Assuming Petrel.", hardware);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user