altos: Make accel cal take three axes when present
authorKeith Packard <keithp@keithp.com>
Fri, 23 Oct 2020 23:00:01 +0000 (16:00 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 23 Oct 2020 23:00:01 +0000 (16:00 -0700)
commitf7c8f0b14cf19804106860a5689cf1f37df20669
tree76c399ea568003d882e0d47ed8c465df2c8549dc
parentecf782359d3038399049ec5cc0a2b3071e14c78f
altos: Make accel cal take three axes when present

This allows AltosUI to save/restore all of the accel calibration
values instead of just the primary axis.

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