ao_telemetry: Use int16_t types for telemetry packet intervals
authorKeith Packard <keithp@keithp.com>
Thu, 17 Feb 2022 01:34:41 +0000 (17:34 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Feb 2022 01:34:41 +0000 (17:34 -0800)
commita2505dc4be4a368911533d42d6344ad03b220468
treef3f6faaec34de7f11b9f612930d10b300fa0032e
parent86bd5f53ba4b13df502ec1bc70512f30cac94010
ao_telemetry: Use int16_t types for telemetry packet intervals

This avoids concerns about overflow from int8_t types when computing
long intervals between packets as the base interface type was an
int16_t. This should help deal with higher sample rate sensors when
that occurs.

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