Unused code: has_hr_data()

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2017-05-20 11:16:26 +02:00
parent 1d7fc93017
commit 5faf3f9410
2 changed files with 0 additions and 17 deletions

View file

@ -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;