Xilinx / embeddedsw

Xilinx Embedded Software (embeddedsw) Development
Other
951 stars 1.07k forks source link

Dangling comment in xcanfd.c::XCanFd_Send() #160

Open sarenameas opened 3 years ago

sarenameas commented 3 years ago

In https://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/canfd/src/xcanfd.c#L547 we have this comment:

    /* Assign buffer number to user */
    *TxBufferNumber = FreeTxBuffer;

    /* Make That buffer as transmitted */

    return XST_SUCCESS;

Is there some missing code to "Mark that buffer as transmitted"?

sneeli-git commented 3 years ago

Redundant comments will remove in next release.