Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nxphlite start correct sensors and disable debug #9057

Merged
merged 1 commit into from
Mar 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ROMFS/px4fmu_common/init.d/rc.sensors
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions src/drivers/imu/fxas21002c/fxas21002c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 1 addition & 3 deletions src/drivers/imu/fxos8701cq/fxos8701cq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down