aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/schedule.h
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 /schedule.h
parentfd3739f7b6ae628b58940ecea034a026ce5bfdeb (diff)
downloadopendeco-0781c1aea3021ac70199963018e7639ac4cf55d2.tar.gz
Add decostate_t to segment callback parameters
Diffstat (limited to 'schedule.h')
-rw-r--r--schedule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/schedule.h b/schedule.h
index b1703d7..63de45f 100644
--- a/schedule.h
+++ b/schedule.h
@@ -26,7 +26,7 @@ typedef enum segtype_t {
SEG_TRAVEL,
} segtype_t;
-typedef void (*segment_callback_t)(const waypoint_t, const segtype_t);
+typedef void (*segment_callback_t)(const decostate_t *ds, const waypoint_t, const segtype_t);
const gas_t *best_gas(const double depth, const gas_t *gasses, const int nof_gasses);
const gas_t *next_gas(const double depth, const gas_t *gasses, const int nof_gasses);