X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Feeprom.c;h=8210971b9e6c2f49561b115d434596cea67f27cf;hb=ef1c995c81e3fde7747c041c3cd1d0a92ea8f242;hp=4e7f615fe6068e8589a35482d4ecd6aa4f2c1cf1;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/eeprom.c b/bertos/drv/eeprom.c index 4e7f615f..8210971b 100644 --- a/bertos/drv/eeprom.c +++ b/bertos/drv/eeprom.c @@ -32,7 +32,6 @@ * * \brief Driver for the 24xx16 and 24xx256 I2C EEPROMS (implementation) * - * \note This implementation is AVR specific. * * \version $Id$ * \author Stefano Fedrigo @@ -41,12 +40,15 @@ #include "eeprom.h" -#include -#include // CONFIG_EEPROM_VERIFY +#include "cfg/cfg_eeprom.h" // CONFIG_EEPROM_VERIFY #include // MIN() +#include + #include #include CPU_HEADER(twi) + #include + #include // cpu_to_be16() #include // memset()