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:
Giovanni Di Sirio 2021-10-27 08:09:18 +00:00
parent c7cff40230
commit 4bd8290a35
2 changed files with 2 additions and 0 deletions

View File

@ -200,6 +200,7 @@ static msg_t spi_lld_stop_abort(SPIDriver *spip) {
spip->spi->CR2 = spip->config->cr2 | SPI_CR2_FRXTH |
SPI_CR2_RXDMAEN | SPI_CR2_TXDMAEN;
}
return HAL_RET_SUCCESS;
}

View File

@ -554,6 +554,7 @@ extern "C" {
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_stop_transfer(SPIDriver *spip, size_t *sizep);
uint16_t spi_lld_polled_exchange(SPIDriver *spip, uint16_t frame);
#ifdef __cplusplus
}
#endif