From 7ccd7afce2a158eb852b5f7c61cd51e8febe56a9 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Fri, 31 Aug 2012 16:12:14 -0400 Subject: 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 --- libraries/Wire/Wire.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libraries/Wire/Wire.cpp') 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 #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); -- cgit v1.2.3