Skip to content
Commit aed7ae5d authored by Jordan Yates's avatar Jordan Yates Committed by Chris Friedt
Browse files

fuel_gauge: composite: switch to tick based sampling



To ensure that data is consistent across multiple sequential calls to
`fuel_gauge_get_prop`, sensor_fetch is only called if a certain time
period has passed since the previous sampling. This emulates the
tick-based sampling of most dedicated fuel-gauge devices.

Signed-off-by: default avatarJordan Yates <jordan@embeint.com>

tick
parent 7ea28046
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment