otamesi

Dependencies:   mbed

Revision:
10:280a25bcc8bb
Parent:
5:f630dbbae44e
--- a/HMC5883L.cpp	Fri Oct 26 07:04:55 2018 +0000
+++ b/HMC5883L.cpp	Mon Nov 05 12:46:14 2018 +0000
@@ -2,9 +2,9 @@
 #include "HMC5883L.h"
 #include <new>
 
-HMC5883L::HMC5883L(PinName p28, PinName p27) : i2c_(*reinterpret_cast<I2C*>(i2cRaw))
+HMC5883L::HMC5883L(PinName p9, PinName p10) : i2c_(*reinterpret_cast<I2C*>(i2cRaw))
 {
-    new(i2cRaw) I2C(p28, p27);
+    new(i2cRaw) I2C(p9, p10);
     init();
 }