[nuttx-bb][PATCH 1/3] Fix console by sending chunk blocks lesser than 32 bytes

Alan Carvalho de Assis acassis at gmail.com
Sun Feb 26 11:16:56 UTC 2012


On 2/25/12, Sylvain Munaut <246tnt at gmail.com> wrote:
>>       cnt = buflen & 0x1F;
>>
>> but I think it will not be readable for other people.
>>
>> > +
>
> It would also be wrong ...
>
> 32 & 0x1F = 0 ...
>

Yes, my fault, it should saturate on 31 if buflen bigger than 31.

So, let us keep this if/else.

BR,

Alan




More information about the baseband-devel mailing list