abcminiuser / lufa

LUFA - the Lightweight USB Framework for AVRs.
http://www.lufa-lib.org
1.04k stars 325 forks source link

Support for large TWI reads #53

Closed waldo3000 closed 9 years ago

waldo3000 commented 9 years ago

Currently, TWI_ReadPacket and TWI_WritePacket use a uint8_t for the data packet length. However, many EEPROMs allow reading sequential addresses over more than a 256 address range. I would suggest changing: uint8_t Length to: uint16_t Length

abcminiuser commented 9 years ago

Good idea; I'll patch this in master.

abcminiuser commented 9 years ago

Fixed in 7638128d47f90dafbbf8bc2454971afd726e005e.