altos: Fix config upgrade from 1.24 to 1.25
authorKeith Packard <keithp@keithp.com>
Fri, 24 Sep 2021 16:43:15 +0000 (09:43 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 24 Sep 2021 23:30:51 +0000 (16:30 -0700)
Alignment of pyro field changed due to increased size of fields which
shifted the whole struct by two bytes, leading to mis-updating the struct.
Fix that by creating a mirror of the ao_config type for version 1.24 and
then using that to fetch the old data.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found