On Fri, May 10, 2013 at 08:10:23PM +0400, Igor Mitsyanko wrote:
> +    if (sd->state != sd_sendingdata_state) {
> +        DPRINTF("Transfer was aborted\n");
> +        return;
> +    }
> +
> +    io_len = (sd->ocr & (1 << 30)) ? 512 : sd->blk_len;

If you respin, a constant would be nice instead of the 1 << 30 magic
number.

Reply via email to