Skip to content
Commit 3c6e66e5 authored by Yuval Peress's avatar Yuval Peress Committed by Maureen Helm
Browse files

sensors: convert fifo_wm to batch_dur



Having a % FIFO watermark isn't very useful as it doesn't convey how long
the SoC can sleep (or do other work) while batching sensor data. Convert
the attribute to a batch duration using ticks. Currently the ticks are
in system ticks, but eventually when an external clock is attached to
the sensor it will be in the external clock's ticks.

Signed-off-by: default avatarYuval Peress <peress@google.com>
parent 1326c7c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment