aboutsummaryrefslogtreecommitdiff
path: root/libraries/Wire/Wire.cpp
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-08-31 16:12:14 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-08-31 16:12:14 -0400
commita62e15ab598750da7f75cbf22068d6db94de7396 (patch)
tree79ec4cecad1f07eb99eaa6fcf6977e92a5e3196b /libraries/Wire/Wire.cpp
parent853d0b1a5a8fe623502876f00efa030b13328e7b (diff)
Fixups for Wire library builds.
Add libraries directory to global include path, so Wire sub-headers can be included in a directory-independent way. Tweak Wire global declaration and definition so it builds. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libraries/Wire/Wire.cpp')
-rw-r--r--libraries/Wire/Wire.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/Wire/Wire.cpp b/libraries/Wire/Wire.cpp
index 9173234..d646132 100644
--- a/libraries/Wire/Wire.cpp
+++ b/libraries/Wire/Wire.cpp
@@ -37,7 +37,7 @@
* modifications by gke and ala42.
*/
-#include "Wire.h"
+#include <Wire/Wire.h>
#define I2C_WRITE 0
#define I2C_READ 1
@@ -179,4 +179,4 @@ TwoWire::~TwoWire() {
}
// Declare the instance that the users of the library can use
-TwoWire Wire(); \ No newline at end of file
+TwoWire Wire(SCL, SDA, SOFT_STANDARD);