From df08028ff5dd892dafa667fde1fbf9de43f82fea Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 18 Apr 2019 14:42:15 -0700 Subject: 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 --- src/telefireone-v1.0/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/telefireone-v1.0') diff --git a/src/telefireone-v1.0/Makefile b/src/telefireone-v1.0/Makefile index b2e7eec4..afcdcd67 100644 --- a/src/telefireone-v1.0/Makefile +++ b/src/telefireone-v1.0/Makefile @@ -89,3 +89,5 @@ install: uninstall: +echo: + echo $(PROG) $(VERSION) -- cgit v1.2.3