aboutsummaryrefslogtreecommitdiffstats
path: root/core/gaspressures.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/gaspressures.c')
-rw-r--r--core/gaspressures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gaspressures.c b/core/gaspressures.c
index 573e50475..bb55ecb88 100644
--- a/core/gaspressures.c
+++ b/core/gaspressures.c
@@ -445,7 +445,7 @@ void populate_pressure_information(struct dive *dive, struct divecomputer *dc, s
// until we get back to this cylinder.
if (cyl != sensor) {
current = NULL;
- SENSOR_PRESSURE(entry, sensor) = 0;
+ set_plot_pressure_data(entry, SENSOR_PR, sensor, 0);
continue;
}