diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-01-17 14:50:47 +0100 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 11:06:29 +0100 |
commit | e5d5cf2442038b8ad3e0f90b00e5acdd18d5fa98 (patch) | |
tree | 5f1307e1a0a2081c22d941264828559a6c3a2e2c /samples | |
parent | 3d6c03fc223e6ed3b7cb4cf850a7da4a376d02d3 (diff) |
CRIS v10: Fix bugs in i2c_init and i2c_readreg
- Set the variable first to zero after first setup, so we can
stop multiple calls to i2c_init from trying to setup i2c.
- The last byte read by the master in an i2c transfer needs to
be NACKed, not ACKed.
- Also, remove useless CVS log and CVS id tags.
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions