Define init, txbegin, txend and txputchar macros.
[bertos.git] / drv / eeprom.c
index e1f3fb391a74d28ba628769b216bc408776fd450..bc0bda0b8a945bf528a77f957d32554c43e68a00 100644 (file)
@@ -27,7 +27,7 @@
  * the GNU General Public License.
  *
  * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
- * This file is part of DevLib - See README.devlib for information.
+ *
  * -->
  *
  * \brief Driver for the 24xx16 and 24xx256 I2C EEPROMS (implementation)
@@ -71,7 +71,8 @@
 #include <cfg/debug.h>
 #include <appconfig.h>  // CONFIG_EEPROM_VERIFY
 #include <cfg/macros.h>  // MIN()
-#include <drv/twi.h>
+#include <cpu/cpu.h>
+#include CPU_HEADER(twi)
 #include <drv/wdt.h>
 #include <mware/byteorder.h> // cpu_to_be16()