summaryrefslogtreecommitdiffstats
path: root/core/cochran.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/cochran.c')
-rw-r--r--core/cochran.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cochran.c b/core/cochran.c
index 5ee6fd611..5929a7a27 100644
--- a/core/cochran.c
+++ b/core/cochran.c
@@ -585,7 +585,7 @@ static void cochran_parse_samples(struct dive *dive, const unsigned char *log,
sample->stopdepth.mm = lrint(deco_ceiling * FEET * 1000);
sample->temperature.mkelvin = C_to_mkelvin((temp - 32) / 1.8);
sample->sensor = 0;
- sample->cylinderpressure.mbar = lrint(psi * PSI / 100);
+ sample->pressure[0].mbar = lrint(psi * PSI / 100);
finish_sample(dc);