From 8a10e545d4b77a2a892fafeb0de7d34df8a5cd63 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Fri, 18 Sep 2020 17:29:52 +0200 Subject: [PATCH] Fix a bug in the salt and fresh water parsing The original Mares Genius support was based on Mares Dive Organizer 2.25, which has a bug in the salinity parsing. The latest version 2.26 has this bug fixed. Reported-by: Greg McLaughlin --- src/mares_iconhd_parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mares_iconhd_parser.c b/src/mares_iconhd_parser.c index a76ca20..5d35bea 100644 --- a/src/mares_iconhd_parser.c +++ b/src/mares_iconhd_parser.c @@ -76,8 +76,8 @@ #define GASMIX_INUSE 2 #define GASMIX_IGNRD 3 -#define WATER_SALT 0 -#define WATER_FRESH 1 +#define WATER_FRESH 0 +#define WATER_SALT 1 #define WATER_EN13319 2 #define ALARM_NONE 0