projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unneeded code.
[bertos.git]
/
drv
/
eeprom.c
diff --git
a/drv/eeprom.c
b/drv/eeprom.c
index e1f3fb391a74d28ba628769b216bc408776fd450..bc0bda0b8a945bf528a77f957d32554c43e68a00 100644
(file)
--- a/
drv/eeprom.c
+++ b/
drv/eeprom.c
@@
-27,7
+27,7
@@
* the GNU General Public License.
*
* Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
* 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)
* -->
*
* \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 <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()
#include <drv/wdt.h>
#include <mware/byteorder.h> // cpu_to_be16()