From 79904311bb35ca52b51650f834683606e31882c2 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sat, 21 Jun 2008 23:16:27 +0000 Subject: Wire library patch to provide better error handling. --- libraries/Wire/utility/twi.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libraries/Wire/utility/twi.h') diff --git a/libraries/Wire/utility/twi.h b/libraries/Wire/utility/twi.h index 7ccbf5c..1258d8d 100755 --- a/libraries/Wire/utility/twi.h +++ b/libraries/Wire/utility/twi.h @@ -17,18 +17,18 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef twi_h -#define twi_h +#ifndef twi_h +#define twi_h #include //#define ATMEGA8 - #ifndef CPU_FREQ + #ifndef CPU_FREQ #define CPU_FREQ 16000000L #endif - #ifndef TWI_FREQ + #ifndef TWI_FREQ #define TWI_FREQ 100000L #endif @@ -51,7 +51,7 @@ void twi_attachSlaveTxEvent( void (*)(void) ); void twi_reply(uint8_t); void twi_stop(void); - void twi_releaseBus(void); - + void twi_releaseBus(void); + #endif -- cgit v1.2.3-18-g5258