diff options
Diffstat (limited to 'firmware/export/eeprom_24cxx.h')
-rw-r--r-- | firmware/export/eeprom_24cxx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/eeprom_24cxx.h b/firmware/export/eeprom_24cxx.h index bc0f444f7e..c52dd830ef 100644 --- a/firmware/export/eeprom_24cxx.h +++ b/firmware/export/eeprom_24cxx.h | |||
@@ -20,8 +20,13 @@ | |||
20 | #ifndef _EEPROM_24CXX_H | 20 | #ifndef _EEPROM_24CXX_H |
21 | #define _EEPROM_24CXX_H | 21 | #define _EEPROM_24CXX_H |
22 | 22 | ||
23 | #ifdef IRIVER_H300_SERIES | ||
24 | #define EEPROM_ADDR 0xA2 | ||
25 | #define EEPROM_SIZE 256 | ||
26 | #else | ||
23 | #define EEPROM_ADDR 0xA0 | 27 | #define EEPROM_ADDR 0xA0 |
24 | #define EEPROM_SIZE 128 | 28 | #define EEPROM_SIZE 128 |
29 | #endif | ||
25 | 30 | ||
26 | void eeprom_24cxx_init(void); | 31 | void eeprom_24cxx_init(void); |
27 | int eeprom_24cxx_read_byte(unsigned int address, char *c); | 32 | int eeprom_24cxx_read_byte(unsigned int address, char *c); |