On 2015-04-21 01:17, Scott Wood wrote:
> On Wed, 2015-04-08 at 16:44 +0200, Stefan Agner wrote:
>> +case ALT_BUF_ONFI:
>> +/* Reverse byte since the controller uses big endianness */
>> +c = nfc->column % 4;
>> +c = nfc->column - c + (3 - c);
>
> These two l
On Wed, 2015-04-08 at 16:44 +0200, Stefan Agner wrote:
> + case ALT_BUF_ONFI:
> + /* Reverse byte since the controller uses big endianness */
> + c = nfc->column % 4;
> + c = nfc->column - c + (3 - c);
These two lines can be simplified to "c = nfc->column ^
2 matches
Mail list logo