summaryrefslogtreecommitdiff
path: root/firmware/export/eeprom_24cxx.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/eeprom_24cxx.h')
-rw-r--r--firmware/export/eeprom_24cxx.h5
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
26void eeprom_24cxx_init(void); 31void eeprom_24cxx_init(void);
27int eeprom_24cxx_read_byte(unsigned int address, char *c); 32int eeprom_24cxx_read_byte(unsigned int address, char *c);