aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/opendeco.c
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2022-09-30 13:22:30 +0200
committerGravatar Tim Segers <tsegers@pm.me>2022-09-30 13:23:44 +0200
commit0781c1aea3021ac70199963018e7639ac4cf55d2 (patch)
tree93d3faaa2ed4c3ee7635dabf7f5991482e053a5e /opendeco.c
parentfd3739f7b6ae628b58940ecea034a026ce5bfdeb (diff)
downloadopendeco-0781c1aea3021ac70199963018e7639ac4cf55d2.tar.gz
Add decostate_t to segment callback parameters
Diffstat (limited to 'opendeco.c')
-rw-r--r--opendeco.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opendeco.c b/opendeco.c
index 0e9880d..2f82a48 100644
--- a/opendeco.c
+++ b/opendeco.c
@@ -10,7 +10,7 @@
#define MOD_OXY (abs_depth(msw_to_bar(6)))
-void print_segment_callback(const waypoint_t wp, segtype_t type)
+void print_segment_callback(const decostate_t *ds, const waypoint_t wp, segtype_t type)
{
static double last_depth;
static double runtime;
@@ -32,7 +32,7 @@ void print_segment_callback(const waypoint_t wp, segtype_t type)
last_depth = wp.depth;
}
-void empty_callback(const waypoint_t wp, segtype_t type)
+void empty_callback(const decostate_t *ds, const waypoint_t wp, segtype_t type)
{
}