mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 04:43:34 +08:00
Disable debug in the airspeed sensor driver - prevents console spam if it fails (and on probing during startup)
This commit is contained in:
@@ -91,7 +91,7 @@ Airspeed::Airspeed(int bus, int address, unsigned conversion_interval) :
|
|||||||
_comms_errors(perf_alloc(PC_COUNT, "airspeed_comms_errors"))
|
_comms_errors(perf_alloc(PC_COUNT, "airspeed_comms_errors"))
|
||||||
{
|
{
|
||||||
// enable debug() calls
|
// enable debug() calls
|
||||||
_debug_enabled = true;
|
_debug_enabled = false;
|
||||||
|
|
||||||
// work_cancel in the dtor will explode if we don't do this...
|
// work_cancel in the dtor will explode if we don't do this...
|
||||||
memset(&_work, 0, sizeof(_work));
|
memset(&_work, 0, sizeof(_work));
|
||||||
|
|||||||
Reference in New Issue
Block a user