aboutsummaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-01-24 17:26:13 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-01-24 17:26:13 +0100
commit65118f0c2ef6e4305259a35751c8cb92d751b671 (patch)
treecc93d8f74aff675ebc338d8d3e84e407782aaabb /src/drivers
parentd8c1131f1e8e61bcb15b0faa36de1bba00e9716d (diff)
downloadpx4-firmware-65118f0c2ef6e4305259a35751c8cb92d751b671.tar.gz
px4-firmware-65118f0c2ef6e4305259a35751c8cb92d751b671.tar.bz2
px4-firmware-65118f0c2ef6e4305259a35751c8cb92d751b671.zip
Disable debug in the airspeed sensor driver - prevents console spam if it fails (and on probing during startup)
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/airspeed/airspeed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/airspeed/airspeed.cpp b/src/drivers/airspeed/airspeed.cpp
index 5e45cc936..f73a3ef01 100644
--- a/src/drivers/airspeed/airspeed.cpp
+++ b/src/drivers/airspeed/airspeed.cpp
@@ -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));