nxphlite start correct sensors and disable debug

This commit is contained in:
Daniel Agar
2018-03-11 16:23:50 -05:00
parent f95f4c5f09
commit 5335778f6e
3 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ then
mpl3115a2 -I start
# Internal SPI (accel + mag)
fxos8700cq start -a 8 -R 0
fxos8701cq start -a 8 -R 0
# Internal SPI (gyro)
fxas21002c start -R 0
+1 -3
View File
@@ -450,10 +450,8 @@ FXAS21002C::FXAS21002C(int bus, const char *path, uint32_t device, enum Rotation
_checked_values{},
_checked_next(0)
{
// enable debug() calls
_debug_enabled = true;
_debug_enabled = false;
_device_id.devid_s.devtype = DRV_GYR_DEVTYPE_FXAS2100C;
+1 -3
View File
@@ -506,10 +506,8 @@ FXOS8701CQ::FXOS8701CQ(int bus, const char *path, uint32_t device, enum Rotation
_last_raw_mag_z(0),
_checked_next(0)
{
// enable debug() calls
_debug_enabled = true;
_debug_enabled = false;
_device_id.devid_s.devtype = DRV_ACC_DEVTYPE_FXOS8701C;