It is meant to be called from RX interrupt only, not an error.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14229 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
2e8287a175
commit
15c7013ca7
|
@ -105,13 +105,9 @@ static void spi_lld_serve_tx_interrupt(SPIDriver *spip, uint32_t ct) {
|
|||
RP_SPI_DMA_ERROR_HOOK(spip);
|
||||
}
|
||||
#else
|
||||
//(void)spip;
|
||||
(void)spip;
|
||||
(void)ct;
|
||||
#endif
|
||||
|
||||
/* Portable SPI ISR code defined in the high level driver, note, it is
|
||||
a macro.*/
|
||||
_spi_isr_code(spip);
|
||||
}
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
Loading…
Reference in New Issue