mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
icm20948: disable debug output (_debug_enabled=true)
This commit is contained in:
@@ -49,8 +49,6 @@ ICM20948::ICM20948(const I2CSPIDriverConfig &config) :
|
|||||||
_px4_accel(get_device_id(), config.rotation),
|
_px4_accel(get_device_id(), config.rotation),
|
||||||
_px4_gyro(get_device_id(), config.rotation)
|
_px4_gyro(get_device_id(), config.rotation)
|
||||||
{
|
{
|
||||||
_debug_enabled = true;
|
|
||||||
|
|
||||||
if (_drdy_gpio != 0) {
|
if (_drdy_gpio != 0) {
|
||||||
_drdy_missed_perf = perf_alloc(PC_COUNT, MODULE_NAME": DRDY missed");
|
_drdy_missed_perf = perf_alloc(PC_COUNT, MODULE_NAME": DRDY missed");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user