altoslib: Flush settings restoration commands after accel cal
authorKeith Packard <keithp@keithp.com>
Thu, 26 Apr 2018 06:07:46 +0000 (23:07 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 27 Apr 2018 02:24:21 +0000 (19:24 -0700)
commitb3474fb33a58e78b3b8f36958dd44768e49f3edc
treed336313a8a92251ae60864930f4c2ec73b7822b5
parent0d691170a96545a9e57aad454de87541cea8c292
altoslib: Flush settings restoration commands after accel cal

To avoid mangling settings when the user doesn't 'save' things,
restore the original accel cal values and orientation after finishing
accelerometer calibration.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosAccelCal.java