Page 2 of 2

Re: STM32 code unstable on repository for a while

Posted: Sat Jun 30, 2012 12:56 pm
by Jacon
Hi Giovanni,

Old bugs reappeared - in "mmc_spi.c" and "sdc.c" :

You changed retval names, but they are not in-line with descriptions ;)

They should look like this:

Code: Select all

 * @retval CH_FAILED    operation failed..
 * @retval CH_SUCCESS   operation succeeded.

instead of actual:

Code: Select all

 * @retval CH_FAILED    operation succeeded.
 * @retval CH_SUCCESS   operation failed.

Some places are OK, but mostly not ;)

Re: STM32 code unstable on repository for a while

Posted: Sat Jun 30, 2012 1:02 pm
by Giovanni
I did it with a search/replace, strange, fixing.

Giovanni

Re: STM32 code unstable on repository for a while

Posted: Sun Jul 01, 2012 9:27 am
by Jacon
OK - mmc_spi.c fixed now.

But you forgot sdc.c - which has 3 different behaviours:
- one (first) with TRUE/FALSE description,
- plenty next with proper, but exchanged descriptions,
- some last are OK. :shock:

Re: STM32 code unstable on repository for a while

Posted: Sun Jul 01, 2012 9:53 am
by Giovanni
Thanks fixed as well.

Giovanni