diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-08-31 16:12:14 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-08-31 16:12:14 -0400 |
commit | 7ccd7afce2a158eb852b5f7c61cd51e8febe56a9 (patch) | |
tree | 79ec4cecad1f07eb99eaa6fcf6977e92a5e3196b /libraries/Wire/Wire.cpp | |
parent | ee22c3dc6d945262303d43e733eaac91bfcf0d9d (diff) | |
download | librambutan-7ccd7afce2a158eb852b5f7c61cd51e8febe56a9.tar.gz librambutan-7ccd7afce2a158eb852b5f7c61cd51e8febe56a9.zip |
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.cpp | 4 |
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); |