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 <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2017-12-13 09:28:44 +01:00 committed by Dirk Hohndel
parent c12e14a61d
commit 78d1a3ed58

View file

@ -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;
}