mFS file system library for EEPROM memory chips.

Revision:
9:52c01cb100ac
Parent:
7:5ac5121bb4e0
--- a/i2c_eeprom.h	Mon Feb 21 22:41:13 2011 +0000
+++ b/i2c_eeprom.h	Tue Feb 22 18:57:37 2011 +0000
@@ -22,8 +22,6 @@
 #ifndef I2C_EEPROM_H
 #define I2C_EEPROM_H
 
-typedef unsigned short int uint16;
-
 /** I2C EEPROM access class
  * 
  * This class is used for communication with I2C EEPROM chip.
@@ -48,7 +46,7 @@
     * @param iAddr Memory address.
     * @param n Write n bytes.
     */
-    void write(char *data, uint16 iAddr, unsigned int n);
+    void write(char *data, uint16_t iAddr, unsigned int n);
     
     /** Read from I2C EEPROM
     *
@@ -58,7 +56,7 @@
     * @param n Read n bytes.
     * @param *out Returns array of bytes.
     */
-    void read(uint16 iAddr, uint16 n, char *out);
+    void read(uint16_t iAddr, uint16_t n, char *out);
 };
 
 #endif