Mention Shearwater Nerd

alongside Petrell 2 since this seems to be the same computer internally.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert C. Helling 2015-10-16 14:25:56 +02:00 committed by Dirk Hohndel
parent 9c49f8924b
commit 0f63b524a6
5 changed files with 13 additions and 10 deletions

3
dive.c
View file

@ -900,7 +900,8 @@ void update_setpoint_events(struct divecomputer *dc)
if (dc->divemode == OC &&
(same_string(dc->model, "Shearwater Predator") ||
same_string(dc->model, "Shearwater Petrel"))) {
same_string(dc->model, "Shearwater Petrel") ||
same_string(dc->model, "Shearwater Nerd"))) {
// make sure there's no setpoint in the samples
// this is an irreversible change - so switching a dive to OC
// by mistake when it's actually CCR is _bad_