ao_log: Fix sensor time triggers to use AO_TICK_TYPE
authorKeith Packard <keithp@keithp.com>
Fri, 28 Jan 2022 23:11:07 +0000 (15:11 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Feb 2022 01:26:49 +0000 (17:26 -0800)
commit0b870641ff0299b973de815523bdfd3db5be8bbf
tree5171b2cb6dbdb80f9cf7508ed461ac740d2a86ae
parentdc2d28eab4a998bf5fc60831aaa48d094cbe8785
ao_log: Fix sensor time triggers to use AO_TICK_TYPE

These values were used to determine when various log information would
be recorded. Using the wrong type meant that they would always
trigger, causing the log to fill up rapidly with data that should be
sampled at a lower rate.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_log_metrum.c
src/kernel/ao_log_mini.c
src/kernel/ao_log_motor.c