diff options
| author | Keith Packard <keithp@keithp.com> | 2019-04-18 14:42:15 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2019-04-18 14:42:15 -0700 |
| commit | df08028ff5dd892dafa667fde1fbf9de43f82fea (patch) | |
| tree | 23d337a6dc8427255b92d772716c6b850ae69de7 /src/stm32f4-disco/ao_scheme_os.h | |
| parent | 774001a9426493fd5c0d5a237da6cb903b1259a8 (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 'src/stm32f4-disco/ao_scheme_os.h')
0 files changed, 0 insertions, 0 deletions
