AP_InertialSensor_LSM9DS0: Move LSM9DS0_DEBUG flag to the header

This commit is contained in:
Víctor Mayoral Vilches 2014-07-06 21:51:40 +02:00 committed by Andrew Tridgell
parent fa4abdb0ae
commit feedc40f72
2 changed files with 2 additions and 3 deletions

View File

@ -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(),

View File

@ -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