diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-18 16:49:12 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-18 16:49:12 +0200 |
commit | 024c6d572706b3ae7755b5c022e198d7db7c5d34 (patch) | |
tree | 2b7020fd4e7193ae9170995267ab6df6d152d6c8 /src/drivers | |
parent | 9a1fcb4c4ab0703400909f43e225632616e854fb (diff) | |
download | px4-firmware-024c6d572706b3ae7755b5c022e198d7db7c5d34.tar.gz px4-firmware-024c6d572706b3ae7755b5c022e198d7db7c5d34.tar.bz2 px4-firmware-024c6d572706b3ae7755b5c022e198d7db7c5d34.zip |
Airspeed fix attempt
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/airspeed/airspeed.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/drivers/airspeed/airspeed.cpp b/src/drivers/airspeed/airspeed.cpp index 41942aacd..29110373f 100644 --- a/src/drivers/airspeed/airspeed.cpp +++ b/src/drivers/airspeed/airspeed.cpp @@ -364,6 +364,7 @@ Airspeed::update_status() _sensor_ok, SUBSYSTEM_TYPE_DIFFPRESSURE }; + warnx("airspeed ok state changed"); if (_subsys_pub > 0) { orb_publish(ORB_ID(subsystem_info), _subsys_pub, &info); @@ -381,7 +382,10 @@ Airspeed::cycle_trampoline(void *arg) Airspeed *dev = (Airspeed *)arg; dev->cycle(); - dev->update_status(); + // XXX we do not know if this is + // really helping - do not update the + // subsys state right now + //dev->update_status(); } void |