Bugfixes with the protocol.
authorMichael Janssen <jamuraa@base0.net>
Wed, 7 Aug 2013 04:33:06 +0000 (23:33 -0500)
committerMichael Janssen <jamuraa@base0.net>
Wed, 7 Aug 2013 04:33:06 +0000 (23:33 -0500)
commit6dd0447c12d1b75611ad8f205890913378635719
tree3e90f957fbf5a1a3500fc9b7a603cc5d0eed6fff
parentd557744503b3787576ad6d4cebdf37e033809f2b
Bugfixes with the protocol.

 - Bitmasks need to be equal, not just result in non-zero
 - Only read status once in case it changes under us
 - Logical and not binary and when checking for acks on sending
 - We need to stop the bus when receiving the last byte
 - Force the bus into idle mode when we are Initing
LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.c
LUFA/Drivers/Peripheral/XMEGA/TWI_XMEGA.h