mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Unused code: has_hr_data()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
1d7fc93017
commit
5faf3f9410
2 changed files with 0 additions and 17 deletions
15
core/dive.c
15
core/dive.c
|
|
@ -424,21 +424,6 @@ double get_weight_units(unsigned int grams, int *frac, const char **units)
|
||||||
return value;
|
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 *alloc_dive(void)
|
||||||
{
|
{
|
||||||
struct dive *dive;
|
struct dive *dive;
|
||||||
|
|
|
||||||
|
|
@ -787,8 +787,6 @@ extern void finish_sample(struct divecomputer *dc);
|
||||||
extern void add_sample_pressure(struct sample *sample, int sensor, int mbar);
|
extern void add_sample_pressure(struct sample *sample, int sensor, int mbar);
|
||||||
extern int legacy_format_o2pressures(struct dive *dive, struct divecomputer *dc);
|
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 void sort_table(struct dive_table *table);
|
||||||
extern struct dive *fixup_dive(struct dive *dive);
|
extern struct dive *fixup_dive(struct dive *dive);
|
||||||
extern void fixup_dc_duration(struct divecomputer *dc);
|
extern void fixup_dc_duration(struct divecomputer *dc);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue