diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-10-29 16:56:29 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-10-29 16:56:29 +0100 |
commit | 85a3e35b4d11abafac7e4b9d63ec8f6d2f0c869b (patch) | |
tree | f3dd042ad35dcf7b6692e3bb9557b45b389abb22 /sensors/compass | |
parent | f09b419463bf471608bf56fabd4a14bdee4eb4ef (diff) | |
download | microcopterd-85a3e35b4d11abafac7e4b9d63ec8f6d2f0c869b.tar.bz2 |
fix hmc5883l.vala
Diffstat (limited to 'sensors/compass')
-rw-r--r-- | sensors/compass/hmc5883l.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sensors/compass/hmc5883l.vala b/sensors/compass/hmc5883l.vala index b30a243..b3155ac 100644 --- a/sensors/compass/hmc5883l.vala +++ b/sensors/compass/hmc5883l.vala @@ -16,7 +16,7 @@ public class HMC5883L : I2CDevice, Compass { public static const int COUNTS_PER_MGAUSS = 1090; - public HMC5843(uint8 dev, uint8 addr = 0x1e) throws I2CError { + public HMC5883L(uint8 dev, uint8 addr = 0x1e) throws I2CError { setup(dev, addr); devsetup(); } @@ -49,5 +49,5 @@ public class HMC5883L : I2CDevice, Compass { public Type register_plugin(Module module) { // types are registered automatically - return typeof(HMC5843); + return typeof(HMC5883L); } |