Warn if Dive Mode / Cylinders are Changed to an Incorrect Configuration.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
Michael Keller 2025-01-22 14:00:28 +13:00 committed by Subsurface CI
parent 55a8b9089f
commit b5f823c85a
4 changed files with 35 additions and 7 deletions

View file

@ -206,6 +206,8 @@ extern bool cylinder_with_sensor_sample(const struct dive *dive, int cylinder_id
extern void update_setpoint_events(const struct dive *dive, struct divecomputer *dc);
extern int check_dc_cylinder_use(struct dive &dive, struct divecomputer &dc);
/* Make pointers to dive and dive_trip "Qt metatypes" so that they can be passed through
* QVariants and through QML.
*/