X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Feeprom.c;h=4e7f615fe6068e8589a35482d4ecd6aa4f2c1cf1;hb=0d1eaaacb138c1f339d0aa7c97163cf52924887f;hp=fb83a07148022570b427da94a059479e167f1ef1;hpb=bcf38f772b397e7a8ba781a69aacb9380e54b32a;p=bertos.git diff --git a/drv/eeprom.c b/drv/eeprom.c old mode 100755 new mode 100644 index fb83a071..4e7f615f --- a/drv/eeprom.c +++ b/drv/eeprom.c @@ -1,8 +1,33 @@ /** * \file * * * \brief Driver for the 24xx16 and 24xx256 I2C EEPROMS (implementation) @@ -14,39 +39,13 @@ * \author Bernardo Innocenti */ -/*#* - *#* $Log$ - *#* Revision 1.20 2006/07/19 12:56:25 bernie - *#* Convert to new Doxygen style. - *#* - *#* Revision 1.19 2006/03/20 17:49:50 bernie - *#* Make the TWI driver more generic to work with devices other than EEPROMS. - *#* - *#* Revision 1.18 2005/11/27 23:33:40 bernie - *#* Use appconfig.h instead of cfg/config.h. - *#* - *#* Revision 1.17 2005/04/11 19:10:27 bernie - *#* Include top-level headers from cfg/ subdir. - *#* - *#* Revision 1.16 2005/03/01 23:25:09 bernie - *#* Prune CVS log. - *#* - *#* Revision 1.11 2004/10/26 08:35:31 bernie - *#* Reset watchdog for long operations. - *#* - *#* Revision 1.10 2004/09/20 03:31:22 bernie - *#* Sanitize for C++. - *#* - *#* Revision 1.9 2004/09/14 21:03:46 bernie - *#* Use debug.h instead of kdebug.h. - *#*/ - #include "eeprom.h" #include #include // CONFIG_EEPROM_VERIFY #include // MIN() -#include +#include +#include CPU_HEADER(twi) #include #include // cpu_to_be16()