diff options
| -rw-r--r-- | src/ao_ee.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/ao_ee.c b/src/ao_ee.c index f299b925..9b6db234 100644 --- a/src/ao_ee.c +++ b/src/ao_ee.c @@ -271,6 +271,7 @@ ao_ee_write(uint32_t pos, uint8_t *buf, uint16_t len) __reentrant  		/* See how much is left */  		buf += this_len;  		len -= this_len; +		pos += this_len;  	}  	return 1;  } @@ -306,6 +307,7 @@ ao_ee_read(uint32_t pos, uint8_t *buf, uint16_t len) __reentrant  		/* See how much is left */  		buf += this_len;  		len -= this_len; +		pos += this_len;  	}  	return 1;  } | 
