mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 22:58:10 +08:00
nxphlite start correct sensors and disable debug
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user