diff options
author | px4dev <px4@purgatory.org> | 2012-08-21 01:09:03 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-08-21 01:09:03 -0700 |
commit | 228fbb975aa2d97395dd9b34937b1348ea6b3230 (patch) | |
tree | f6e53bd6e4a0d8478596f399cfd40d953b818aba /apps/drivers/drv_mag.h | |
parent | 3246568c82b8882e6b54f15d56523fc35f606089 (diff) | |
download | px4-firmware-228fbb975aa2d97395dd9b34937b1348ea6b3230.tar.gz px4-firmware-228fbb975aa2d97395dd9b34937b1348ea6b3230.tar.bz2 px4-firmware-228fbb975aa2d97395dd9b34937b1348ea6b3230.zip |
New-style driver for the HMC5883 on I2C.
Diffstat (limited to 'apps/drivers/drv_mag.h')
-rw-r--r-- | apps/drivers/drv_mag.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/drivers/drv_mag.h b/apps/drivers/drv_mag.h index 673a3988f..fe1addaeb 100644 --- a/apps/drivers/drv_mag.h +++ b/apps/drivers/drv_mag.h @@ -76,7 +76,7 @@ ORB_DECLARE(sensor_mag); */ #define _MAGIOCBASE (0x2300) -#define _MAGIOC(_n) (_IOC(_MAGIOBASE, _n)) +#define _MAGIOC(_n) (_IOC(_MAGIOCBASE, _n)) /** set the driver polling rate to (arg) Hz, or one of the MAG_POLLRATE constants */ #define MAGIOCSPOLLRATE _MAGIOC(0) |