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 /schedule.h | |
parent | fd3739f7b6ae628b58940ecea034a026ce5bfdeb (diff) | |
download | opendeco-0781c1aea3021ac70199963018e7639ac4cf55d2.tar.gz |
Add decostate_t to segment callback parameters
Diffstat (limited to 'schedule.h')
-rw-r--r-- | schedule.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |