From cab84fa2f80a412360e674023467dff0a618cc60 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Wed, 2 Jan 2013 15:29:22 +0100 Subject: [PATCH] Re-order the constants in the dc_deco_type_t enum. The SAFETYSTOP is conceptually somewhere in between the NDL and the DECOSTOP, so it makes sense to re-order the constants in the enum to reflect this order. --- include/libdivecomputer/parser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libdivecomputer/parser.h b/include/libdivecomputer/parser.h index 62ac0fa..a92e653 100644 --- a/include/libdivecomputer/parser.h +++ b/include/libdivecomputer/parser.h @@ -109,9 +109,9 @@ typedef enum dc_water_t { typedef enum dc_deco_type_t { DC_DECO_NDL, + DC_DECO_SAFETYSTOP, DC_DECO_DECOSTOP, - DC_DECO_DEEPSTOP, - DC_DECO_SAFETYSTOP + DC_DECO_DEEPSTOP } dc_deco_type_t; typedef struct dc_salinity_t {