diff options
author | Simon Wilks <sjwilks@gmail.com> | 2013-04-22 21:30:20 +0200 |
---|---|---|
committer | Simon Wilks <sjwilks@gmail.com> | 2013-04-22 21:30:20 +0200 |
commit | 24630f15b6d0b465bd62f1105def4e96ffc92e10 (patch) | |
tree | 4cc55e68381457b6b7dad7601c40bc15634bd86c /apps/drivers | |
parent | a3b3879302c80aa439d636c55ed0a6e2710323b4 (diff) | |
download | px4-firmware-24630f15b6d0b465bd62f1105def4e96ffc92e10.tar.gz px4-firmware-24630f15b6d0b465bd62f1105def4e96ffc92e10.tar.bz2 px4-firmware-24630f15b6d0b465bd62f1105def4e96ffc92e10.zip |
Yet more cleanups.
Diffstat (limited to 'apps/drivers')
-rw-r--r-- | apps/drivers/drv_airspeed.h | 1 | ||||
-rw-r--r-- | apps/drivers/ets_airspeed/Makefile | 2 | ||||
-rw-r--r-- | apps/drivers/ets_airspeed/ets_airspeed.cpp | 8 |
3 files changed, 6 insertions, 5 deletions
diff --git a/apps/drivers/drv_airspeed.h b/apps/drivers/drv_airspeed.h index 54213c075..bffc35c62 100644 --- a/apps/drivers/drv_airspeed.h +++ b/apps/drivers/drv_airspeed.h @@ -33,6 +33,7 @@ /** * @file Airspeed driver interface. + * @author Simon Wilks */ #ifndef _DRV_AIRSPEED_H diff --git a/apps/drivers/ets_airspeed/Makefile b/apps/drivers/ets_airspeed/Makefile index 9089d97af..f6639b470 100644 --- a/apps/drivers/ets_airspeed/Makefile +++ b/apps/drivers/ets_airspeed/Makefile @@ -37,6 +37,6 @@ APPNAME = ets_airspeed PRIORITY = SCHED_PRIORITY_DEFAULT -STACKSIZE = 2048 +STACKSIZE = 1024 include $(APPDIR)/mk/app.mk diff --git a/apps/drivers/ets_airspeed/ets_airspeed.cpp b/apps/drivers/ets_airspeed/ets_airspeed.cpp index cede0534d..5bff4c720 100644 --- a/apps/drivers/ets_airspeed/ets_airspeed.cpp +++ b/apps/drivers/ets_airspeed/ets_airspeed.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file airspeed.cpp + * @file ets_airspeed.cpp * @author Simon Wilks * * Driver for the Eagle Tree Airspeed V3 connected via I2C. @@ -197,9 +197,9 @@ ETS_AIRSPEED::ETS_AIRSPEED(int bus, int address) : _collect_phase(false), _diff_pres_offset(0), _airspeed_pub(-1), - _sample_perf(perf_alloc(PC_ELAPSED, "ETS_AIRSPEED_read")), - _comms_errors(perf_alloc(PC_COUNT, "ETS_AIRSPEED_comms_errors")), - _buffer_overflows(perf_alloc(PC_COUNT, "ETS_AIRSPEED_buffer_overflows")) + _sample_perf(perf_alloc(PC_ELAPSED, "ets_airspeed_read")), + _comms_errors(perf_alloc(PC_COUNT, "ets_airspeed_comms_errors")), + _buffer_overflows(perf_alloc(PC_COUNT, "ets_airspeed_buffer_overflows")) { // enable debug() calls _debug_enabled = true; |