Searched refs:running_total (Results 1 – 1 of 1) sorted by relevance
138 uint32_t running_total = 0; in do_sample() local141 running_total += pulsensor->ibi_rate[i]; in do_sample()145 running_total += pulsensor->ibi_rate[9]; in do_sample()146 running_total /= 10; in do_sample()147 pulsensor->bpm = 60000 / running_total; in do_sample()