Report the initial setpoint in SCR mode

This commit is contained in:
Jef Driesen 2021-11-29 14:26:57 +01:00
parent 16e49eee6d
commit 5e2d376627

View File

@ -273,7 +273,7 @@ hw_ostc_parser_cache (hw_ostc_parser_t *parser)
}
}
// The first fixed setpoint is the initial setpoint in CCR mode.
if (data[layout->divemode] == OSTC3_CC) {
if (data[layout->divemode] == OSTC3_CC || data[layout->divemode] == OSTC3_PSCR) {
initial_setpoint = data[60];
}
// Initial CNS