SAMV7 MCAN: Remove forcing of transfer complete interrupt
This commit is contained in:
parent
b05fb671ff
commit
54cff3c5ae
|
@ -3176,12 +3176,11 @@ static void mcan_interrupt(FAR struct can_dev_s *dev)
|
||||||
* call to man_buffer_release(), whether or not the write
|
* call to man_buffer_release(), whether or not the write
|
||||||
* was successful.
|
* was successful.
|
||||||
*
|
*
|
||||||
* Here we force transmit complete processing just in case.
|
* We assume that MCAN_INT_TC will be called for each
|
||||||
* This could have the side effect of pushing the semaphore
|
* message buffer. Except the transfer is cancelled.
|
||||||
* count up to high.
|
* TODO: add handling for MCAN_INT_TCF
|
||||||
*/
|
*/
|
||||||
|
|
||||||
pending |= MCAN_INT_TC;
|
|
||||||
handled = true;
|
handled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue