summaryrefslogtreecommitdiffstats
path: root/sensors/compass/hmc5883l.vala
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-10-29 16:56:29 +0100
committerSebastian Reichel <sre@ring0.de>2012-10-29 16:56:29 +0100
commit85a3e35b4d11abafac7e4b9d63ec8f6d2f0c869b (patch)
treef3dd042ad35dcf7b6692e3bb9557b45b389abb22 /sensors/compass/hmc5883l.vala
parentf09b419463bf471608bf56fabd4a14bdee4eb4ef (diff)
downloadmicrocopterd-85a3e35b4d11abafac7e4b9d63ec8f6d2f0c869b.tar.bz2
fix hmc5883l.vala
Diffstat (limited to 'sensors/compass/hmc5883l.vala')
-rw-r--r--sensors/compass/hmc5883l.vala4
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);
}