altos: Use max of 64 previous orient values when checking pyro limits
authorKeith Packard <keithp@keithp.com>
Sat, 21 Apr 2018 23:17:26 +0000 (16:17 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 27 Apr 2018 02:24:21 +0000 (19:24 -0700)
Instead of checking just a single measurement to see if the
orientation is outside of the desired limits, use the maximum of 64
previous values to that rapidly changing orientation won't
accidentally enable a pyro channel if sampled at the 'wrong time'.

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

No differences found