From 78d1a3ed58de108b15ba0a63b0b0882a120b7214 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Wed, 13 Dec 2017 09:28:44 +0100 Subject: Rename DC_DIVEMODE_CC to DC_DIVEMODE_CCR This is just code cleanup. Jef renamed the CCR divemode constant in libdivecomputer, but added a define to be backward compatible as as well (so this rename did not break our Subsurface build). Obviously, this breaks the build for people that build against an older libdivecomputer, but I see no reason to do that. Signed-off-by: Jan Mulder --- core/libdivecomputer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/libdivecomputer.c') diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c index 88edeca52..b67b95581 100644 --- a/core/libdivecomputer.c +++ b/core/libdivecomputer.c @@ -735,7 +735,7 @@ static dc_status_t libdc_header_parser(dc_parser_t *parser, device_data_t *devda case DC_DIVEMODE_OC: /* Open circuit */ dive->dc.divemode = OC; break; - case DC_DIVEMODE_CC: /* Closed circuit */ + case DC_DIVEMODE_CCR: /* Closed circuit */ dive->dc.divemode = CCR; break; } -- cgit v1.2.3-70-g09d2