diff options
-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); } |