Skip to content

Commit

Permalink
cosmetics, renamed USE_AHRS_CMPL to USE_AHRS_CMPL_EULER for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Jun 1, 2012
1 parent 5f9a833 commit 68aa933
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Expand Up @@ -7,7 +7,7 @@ ifndef USE_MAGNETOMETER
USE_MAGNETOMETER = 1
endif

AHRS_CFLAGS = -DUSE_AHRS -DAHRS_UPDATE_FW_ESTIMATOR -DUSE_AHRS_CMPL
AHRS_CFLAGS = -DUSE_AHRS -DAHRS_UPDATE_FW_ESTIMATOR -DUSE_AHRS_CMPL_EULER
AHRS_CFLAGS += -DUSE_AHRS_ALIGNER

ifneq ($(USE_MAGNETOMETER),0)
Expand Down
Expand Up @@ -2,7 +2,7 @@
# Complementary filter for attitude estimation
#

stm_passthrough.CFLAGS += -DUSE_AHRS_CMPL
stm_passthrough.CFLAGS += -DUSE_AHRS_CMPL_EULER
ifneq ($(AHRS_ALIGNER_LED),none)
stm_passthrough.CFLAGS += -DAHRS_ALIGNER_LED=$(AHRS_ALIGNER_LED)
endif
Expand Down
Expand Up @@ -7,7 +7,7 @@ ifndef USE_MAGNETOMETER
USE_MAGNETOMETER = 1
endif

AHRS_CFLAGS = -DUSE_AHRS -DUSE_AHRS_CMPL
AHRS_CFLAGS = -DUSE_AHRS -DUSE_AHRS_CMPL_EULER
AHRS_CFLAGS += -DUSE_AHRS_ALIGNER

ifneq ($(USE_MAGNETOMETER),0)
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/firmwares/rotorcraft/telemetry.h
Expand Up @@ -326,7 +326,7 @@
}


#if USE_AHRS_CMPL
#if USE_AHRS_CMPL_EULER
#include "subsystems/ahrs/ahrs_int_cmpl_euler.h"
#define PERIODIC_SEND_FILTER(_trans, _dev) { \
DOWNLINK_SEND_FILTER(_trans, _dev, \
Expand Down

0 comments on commit 68aa933

Please sign in to comment.