mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
[mag] make channel config availale in all cases for hmc58xx module
this is needed for the reporting function
This commit is contained in:
@@ -30,10 +30,6 @@
|
||||
#include "pprzlink/messages.h"
|
||||
#include "subsystems/datalink/downlink.h"
|
||||
|
||||
#if MODULE_HMC58XX_UPDATE_AHRS
|
||||
#include "subsystems/imu.h"
|
||||
#include "subsystems/abi.h"
|
||||
|
||||
#ifndef HMC58XX_CHAN_X
|
||||
#define HMC58XX_CHAN_X 0
|
||||
#endif
|
||||
@@ -44,6 +40,9 @@
|
||||
#define HMC58XX_CHAN_Z 2
|
||||
#endif
|
||||
|
||||
#if MODULE_HMC58XX_UPDATE_AHRS
|
||||
#include "subsystems/imu.h"
|
||||
#include "subsystems/abi.h"
|
||||
#endif
|
||||
|
||||
struct Hmc58xx mag_hmc58xx;
|
||||
|
||||
Reference in New Issue
Block a user