diff options
author | Tim Segers <tsegers@pm.me> | 2022-09-30 13:22:30 +0200 |
---|---|---|
committer | Tim Segers <tsegers@pm.me> | 2022-09-30 13:23:44 +0200 |
commit | 0781c1aea3021ac70199963018e7639ac4cf55d2 (patch) | |
tree | 93d3faaa2ed4c3ee7635dabf7f5991482e053a5e /opendeco.c | |
parent | fd3739f7b6ae628b58940ecea034a026ce5bfdeb (diff) | |
download | opendeco-0781c1aea3021ac70199963018e7639ac4cf55d2.tar.gz |
Add decostate_t to segment callback parameters
Diffstat (limited to 'opendeco.c')
-rw-r--r-- | opendeco.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { } |