• Jesper Nilsson's avatar
    CRIS v10: Fix bugs in i2c_init and i2c_readreg · e5d5cf24
    Jesper Nilsson authored
    - 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.
    e5d5cf24
i2c.c 14 KB