Fixed missing function prototype.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14965 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
c7cff40230
commit
4bd8290a35
|
@ -200,6 +200,7 @@ static msg_t spi_lld_stop_abort(SPIDriver *spip) {
|
||||||
spip->spi->CR2 = spip->config->cr2 | SPI_CR2_FRXTH |
|
spip->spi->CR2 = spip->config->cr2 | SPI_CR2_FRXTH |
|
||||||
SPI_CR2_RXDMAEN | SPI_CR2_TXDMAEN;
|
SPI_CR2_RXDMAEN | SPI_CR2_TXDMAEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
return HAL_RET_SUCCESS;
|
return HAL_RET_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -554,6 +554,7 @@ extern "C" {
|
||||||
msg_t spi_lld_send(SPIDriver *spip, size_t n, const void *txbuf);
|
msg_t spi_lld_send(SPIDriver *spip, size_t n, const void *txbuf);
|
||||||
msg_t spi_lld_receive(SPIDriver *spip, size_t n, void *rxbuf);
|
msg_t spi_lld_receive(SPIDriver *spip, size_t n, void *rxbuf);
|
||||||
msg_t spi_lld_stop_transfer(SPIDriver *spip, size_t *sizep);
|
msg_t spi_lld_stop_transfer(SPIDriver *spip, size_t *sizep);
|
||||||
|
uint16_t spi_lld_polled_exchange(SPIDriver *spip, uint16_t frame);
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue