mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 06:54:49 +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 "pprzlink/messages.h"
|
||||||
#include "subsystems/datalink/downlink.h"
|
#include "subsystems/datalink/downlink.h"
|
||||||
|
|
||||||
#if MODULE_HMC58XX_UPDATE_AHRS
|
|
||||||
#include "subsystems/imu.h"
|
|
||||||
#include "subsystems/abi.h"
|
|
||||||
|
|
||||||
#ifndef HMC58XX_CHAN_X
|
#ifndef HMC58XX_CHAN_X
|
||||||
#define HMC58XX_CHAN_X 0
|
#define HMC58XX_CHAN_X 0
|
||||||
#endif
|
#endif
|
||||||
@@ -44,6 +40,9 @@
|
|||||||
#define HMC58XX_CHAN_Z 2
|
#define HMC58XX_CHAN_Z 2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if MODULE_HMC58XX_UPDATE_AHRS
|
||||||
|
#include "subsystems/imu.h"
|
||||||
|
#include "subsystems/abi.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct Hmc58xx mag_hmc58xx;
|
struct Hmc58xx mag_hmc58xx;
|
||||||
|
|||||||
Reference in New Issue
Block a user