diff options
author | px4dev <px4@purgatory.org> | 2012-10-23 18:02:36 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-10-23 23:51:12 -0700 |
commit | c3fe915b44a1b32f05b182b3079c722b82b20fb9 (patch) | |
tree | acde0f2c5c64e4c22afdd810c10cdfe7fdc11c5b /apps/drivers/hmc5883/hmc5883.cpp | |
parent | 1b3ab2f18df9b442a01d1093af952e44823c3c9d (diff) | |
download | px4-firmware-c3fe915b44a1b32f05b182b3079c722b82b20fb9.tar.gz px4-firmware-c3fe915b44a1b32f05b182b3079c722b82b20fb9.tar.bz2 px4-firmware-c3fe915b44a1b32f05b182b3079c722b82b20fb9.zip |
Checkpoint - moving things out of the NuttX configs/*/src directories
Diffstat (limited to 'apps/drivers/hmc5883/hmc5883.cpp')
-rw-r--r-- | apps/drivers/hmc5883/hmc5883.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/drivers/hmc5883/hmc5883.cpp b/apps/drivers/hmc5883/hmc5883.cpp index 8e78825c3..bfe79302d 100644 --- a/apps/drivers/hmc5883/hmc5883.cpp +++ b/apps/drivers/hmc5883/hmc5883.cpp @@ -58,7 +58,7 @@ #include <nuttx/wqueue.h> #include <nuttx/clock.h> -#include <arch/board/up_hrt.h> +#include <drivers/drv_hrt.h> #include <systemlib/perf_counter.h> #include <systemlib/err.h> @@ -115,6 +115,10 @@ #endif static const int ERROR = -1; +#ifndef CONFIG_SCHED_WORKQUEUE +# error This requires CONFIG_SCHED_WORKQUEUE. +#endif + class HMC5883 : public device::I2C { public: |