mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
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:
parent
c12e14a61d
commit
78d1a3ed58
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue