mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 01:53:48 +08:00
cosmetics, renamed USE_AHRS_CMPL to USE_AHRS_CMPL_EULER for clarity
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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, \
|
||||
|
||||
Reference in New Issue
Block a user