[XSens] fix not called

This commit is contained in:
Christophe De Wagter
2012-06-08 20:52:27 +02:00
parent b831852c3e
commit d8593bf02d
2 changed files with 8 additions and 2 deletions
@@ -31,14 +31,17 @@ ifeq ($(TARGET), ap)
# </makefile>
# ImuEvent -> XSensEvent
ap.CFLAGS += -DUSE_AHRS
ap.CFLAGS += -DUSE_AHRS -DUSE_INS
ap.CFLAGS += -DIMU_TYPE_H=\"modules/ins/ins_xsens.h\"
# AHRS Results
ap.CFLAGS += -DAHRS_TYPE_H=\"modules/ins/ins_xsens.h\"
ap.CFLAGS += -DINS_MODULE_H=\"modules/ins/ins_xsens.h\"
ap.CFLAGS += -DAHRS_TYPE_H=\"modules/ins/ins_xsens.h\"
ap.CFLAGS += -DGPS_TYPE_H=\"modules/ins/ins_xsens.h\"
#B230400
#B115200
ap.CFLAGS += -DUSE_UART$(XSENS_UART_NR)
ap.CFLAGS += -DINS_LINK=Uart$(XSENS_UART_NR)
ap.CFLAGS += -DUART$(XSENS_UART_NR)_BAUD=B230400
+3
View File
@@ -78,6 +78,8 @@ void ahrs_init(void)
}
#ifdef USE_IMU
#include "subsystems/imu.h"
void imu_init(void)
@@ -90,6 +92,7 @@ void imu_periodic(void)
ins_periodic_task();
}
#endif
//////////////////////////////////////////////////////////////////////////////////////////
//