mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AP_InertialSensor_LSM9DS0: Move LSM9DS0_DEBUG flag to the header
This commit is contained in:
parent
fa4abdb0ae
commit
feedc40f72
@ -115,9 +115,6 @@ extern const AP_HAL::HAL& hal;
|
||||
#define ACT_THS 0x3E
|
||||
#define ACT_DUR 0x3F
|
||||
|
||||
// enable debug to see a register dump on startup
|
||||
#define LSM9DS0_DEBUG 1
|
||||
|
||||
|
||||
AP_InertialSensor_LSM9DS0::AP_InertialSensor_LSM9DS0():
|
||||
AP_InertialSensor(),
|
||||
|
@ -9,6 +9,8 @@
|
||||
#include <AP_Progmem.h>
|
||||
#include "AP_InertialSensor.h"
|
||||
|
||||
// enable debug to see a register dump on startup
|
||||
#define LSM9DS0_DEBUG 1
|
||||
|
||||
// gyro_scale_lsm9ds0 defines the possible full-scale ranges of the gyroscope:
|
||||
enum gyro_scale_lsm9ds0
|
||||
|
Loading…
Reference in New Issue
Block a user