aboutsummaryrefslogtreecommitdiff
path: root/libraries/Wire/utility/twi.h
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2008-06-21 23:16:27 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2008-06-21 23:16:27 +0000
commit79904311bb35ca52b51650f834683606e31882c2 (patch)
tree06c39698c080a079a3967dadacb59467ee76133d /libraries/Wire/utility/twi.h
parent75d1f5053c3460484973d6de1d0d7ec9d9a6516d (diff)
Wire library patch to provide better error handling.
Diffstat (limited to 'libraries/Wire/utility/twi.h')
-rwxr-xr-xlibraries/Wire/utility/twi.h12
1 files changed, 6 insertions, 6 deletions
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 <inttypes.h>
//#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