K 10 svn:author V 3 ian K 8 svn:date V 27 2015-10-09T21:34:46.279420Z K 7 svn:log V 238 Bugfix: Exit the transfer loop if any read or write operation fails. Also, perform a stop operation on the bus if there was an error, otherwise the bus will remain hung forever. Consistantly use 'if (error != 0)' style in the function. END