diff options
Diffstat (limited to 'libraries/Wire/utility/twi.h')
-rwxr-xr-x | libraries/Wire/utility/twi.h | 12 |
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 |