Home
last modified time | relevance | path

Searched refs:running_total (Results 1 – 1 of 1) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/pulsensor/
Dpulsensor.cxx138 uint32_t running_total = 0; in do_sample() local
141 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()