mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-09 20:04:05 +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"))
|
||||
{
|
||||
// enable debug() calls
|
||||
_debug_enabled = true;
|
||||
_debug_enabled = false;
|
||||
|
||||
// work_cancel in the dtor will explode if we don't do this...
|
||||
memset(&_work, 0, sizeof(_work));
|
||||
|
||||
Reference in New Issue
Block a user