summaryrefslogtreecommitdiff
path: root/altoslib
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-04-18 14:42:15 -0700
committerKeith Packard <keithp@keithp.com>2019-04-18 14:42:15 -0700
commitdf08028ff5dd892dafa667fde1fbf9de43f82fea (patch)
tree23d337a6dc8427255b92d772716c6b850ae69de7 /altoslib
parent774001a9426493fd5c0d5a237da6cb903b1259a8 (diff)
altos: Use ao_data_accel_invert when changing orientation value
Instead of using AO_ACCEL_INVERT, use the macro which flips the values around. This fixes a bug with ADXL375 flight computers (EasyMega v2.0) where the accel cal values would be scrambled when changing orientation. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib')
0 files changed, 0 insertions, 0 deletions