This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: I2C doc rx commands fix
- From: Bart Veer <bartv at ecoscentric dot com>
- To: jacmet at sunsite dot dk
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Sat, 14 May 2005 10:34:43 +0100 (BST)
- Subject: Re: I2C doc rx commands fix
- References: <87d5sehkxf.fsf@p4.48ers.dk>
Sorry for the delay in getting this checked in. While testing the
changes I ran into a strange problem which turned out to be not
directly related to the i2c code, but took a while to track down.
>>>>> "Peter" == Peter Korsgaard <jacmet@sunsite.dk> writes:
Peter> The following patch corrects the prototypes for the
Peter> cyg_i2c_tx, cyg_i2c_transaction_tx and xyzzy_i2c_rx
Peter> functions and the usage of CYG_I2C_DEVICE in the I2C
Peter> documentation.
Applied. There was also a missing send_nack argument to the device
driver rx function so that is now fixed as well.
Peter> The following patch renames the cyg_i2c_stop function to
Peter> cyg_i2c_transaction_stop to match the prototype in i2c.h.
Applied. As discussed I have also added a CYG_HAL_TABLE_TYPE to the
bus data structure.
Peter> The following patch corrects a typo in the I2C DEBUG()
Peter> macro.
Applied.
Thanks for these fixes.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts