]> git.tdb.fi Git - ext/subsurface.git/blobdiff - dive.h
Sanitize and fix cylinder pressure overview
[ext/subsurface.git] / dive.h
diff --git a/dive.h b/dive.h
index 08194f6a91caceec9692934b97fb1be67507e7bc..65337303a05d893e7e894ac764ff46a444c0ab61 100644 (file)
--- a/dive.h
+++ b/dive.h
@@ -81,6 +81,7 @@ typedef struct {
 typedef struct {
        cylinder_type_t type;
        gasmix_t gasmix;
+       pressure_t start, end;
 } cylinder_t;
 
 static inline int to_feet(depth_t depth)
@@ -118,7 +119,6 @@ struct dive {
        duration_t duration, surfacetime;
        depth_t visibility;
        temperature_t airtemp, watertemp;
-       pressure_t beginning_pressure, end_pressure;
        cylinder_t cylinder[MAX_CYLINDERS];
        int samples;
        struct sample sample[];