STM32 code unstable on repository for a while

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
Jacon
Posts: 143
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 50 times
Been thanked: 5 times

Re: STM32 code unstable on repository for a while

Post 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 ;)
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: STM32 code unstable on repository for a while

Post by Giovanni »

I did it with a search/replace, strange, fixing.

Giovanni
Jacon
Posts: 143
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 50 times
Been thanked: 5 times

Re: STM32 code unstable on repository for a while

Post 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:
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: STM32 code unstable on repository for a while

Post by Giovanni »

Thanks fixed as well.

Giovanni
Post Reply