X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=i2c%2Feeprom.h;fp=i2c%2Feeprom.h;h=e10ba8f024cac1240d8107636016879b804b4eb0;hb=221783226c8f457e094a04c5f4da9e2e3e7e8b42;hp=bfd1412405aa57fcb655edfc8cb37de7ad38fc0a;hpb=d2311161540192cbc06d5bb19f3767bfc80274c2;p=fw%2Fopenalt diff --git a/i2c/eeprom.h b/i2c/eeprom.h index bfd1412..e10ba8f 100644 --- a/i2c/eeprom.h +++ b/i2c/eeprom.h @@ -6,7 +6,11 @@ // #define EEPROM_ADDRESS (0xa0) #define EEPROM_SIZE (131072) -#define EEPROM_PAGESIZE (256) +#ifdef FC1025 +# define EEPROM_PAGESIZE (128) +#else +# define EEPROM_PAGESIZE (256) +#endif // //