Change 'sensor7' to 'dc_supplied_ppo2' for the dive computer supplied value.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
Michael Keller 2025-01-20 10:00:23 +13:00
parent c685f3d6a1
commit 71ebee8ab6
4 changed files with 4 additions and 4 deletions

View file

@ -931,7 +931,7 @@ static void try_to_fill_sample(struct sample *sample, const char *name, char *bu
return;
if (MATCH("sensor6.sample", double_to_o2pressure, &sample->o2sensor[5])) // up to 6 CCR sensors
return;
if (MATCH("sensor7.sample", double_to_o2pressure, &sample->o2sensor[6])) // the dive computer calculated ppO2
if (MATCH("dc_supplied_ppo2.sample", double_to_o2pressure, &sample->o2sensor[6])) // the dive computer calculated ppO2
return;
if (MATCH("po2.sample", double_to_o2pressure, &sample->setpoint))
return;