aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/Wire/HardWire.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Wire/HardWire.h')
-rw-r--r--libraries/Wire/HardWire.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/libraries/Wire/HardWire.h b/libraries/Wire/HardWire.h
index 91e141d..d3f4ed8 100644
--- a/libraries/Wire/HardWire.h
+++ b/libraries/Wire/HardWire.h
@@ -36,13 +36,12 @@
* users easy interaction with the I2C Hardware in a familiar method.
*/
-#include "wirish.h"
-#include "WireBase.h"
-
#ifndef _HARDWIRE_H_
#define _HARDWIRE_H_
-#include "i2c.h"
+#include "WireBase.h"
+#include <wirish/wirish.h>
+#include <libmaple/i2c.h>
class HardWire : public WireBase {
private:
@@ -50,8 +49,8 @@ private:
uint8 dev_flags;
protected:
/*
- * Processes the incoming I2C message defined by WireBase to the hardware. If
- * an error occured, restart the I2C device.
+ * Processes the incoming I2C message defined by WireBase to the
+ * hardware. If an error occured, restart the I2C device.
*/
uint8 process();
public:
@@ -67,4 +66,4 @@ public:
~HardWire();
};
-#endif // _HARDWIRE_H_ \ No newline at end of file
+#endif // _HARDWIRE_H_