diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/dive.c | 15 | ||||
-rw-r--r-- | core/dive.h | 2 |
2 files changed, 0 insertions, 17 deletions
diff --git a/core/dive.c b/core/dive.c index 205de9353..1d2168206 100644 --- a/core/dive.c +++ b/core/dive.c @@ -424,21 +424,6 @@ double get_weight_units(unsigned int grams, int *frac, const char **units) return value; } -bool has_hr_data(struct divecomputer *dc) -{ - int i; - struct sample *sample; - - if (!dc) - return false; - - sample = dc->sample; - for (i = 0; i < dc->samples; i++) - if (sample[i].heartbeat) - return true; - return false; -} - struct dive *alloc_dive(void) { struct dive *dive; diff --git a/core/dive.h b/core/dive.h index ecb767827..d956dfeb3 100644 --- a/core/dive.h +++ b/core/dive.h @@ -787,8 +787,6 @@ extern void finish_sample(struct divecomputer *dc); extern void add_sample_pressure(struct sample *sample, int sensor, int mbar); extern int legacy_format_o2pressures(struct dive *dive, struct divecomputer *dc); -extern bool has_hr_data(struct divecomputer *dc); - extern void sort_table(struct dive_table *table); extern struct dive *fixup_dive(struct dive *dive); extern void fixup_dc_duration(struct divecomputer *dc); |