From aeabe0ca2adb3366c5d8359561feb4f26cb82a90 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 14 Oct 2021 07:51:32 +0000 Subject: [PATCH] Documentation fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14909 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/src/hal_spi.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/os/hal/src/hal_spi.c b/os/hal/src/hal_spi.c index c5de881ff..979804699 100644 --- a/os/hal/src/hal_spi.c +++ b/os/hal/src/hal_spi.c @@ -328,8 +328,6 @@ void spiAbort(SPIDriver *spip) { * idle words on the SPI bus and ignores the received data. * @pre In order to use this function the option @p SPI_USE_WAIT must be * enabled. - * @pre In order to use this function the driver must have been configured - * without callbacks (@p end_cb = @p NULL). * * @param[in] spip pointer to the @p SPIDriver object * @param[in] n number of words to be ignored @@ -356,8 +354,6 @@ void spiIgnore(SPIDriver *spip, size_t n) { * operation. * @pre In order to use this function the option @p SPI_USE_WAIT must be * enabled. - * @pre In order to use this function the driver must have been configured - * without callbacks (@p end_cb = @p NULL). * @note The buffers are organized as uint8_t arrays for data sizes below * or equal to 8 bits else it is organized as uint16_t arrays. * @@ -389,8 +385,6 @@ void spiExchange(SPIDriver *spip, size_t n, * @details This synchronous function performs a transmit operation. * @pre In order to use this function the option @p SPI_USE_WAIT must be * enabled. - * @pre In order to use this function the driver must have been configured - * without callbacks (@p end_cb = @p NULL). * @note The buffers are organized as uint8_t arrays for data sizes below * or equal to 8 bits else it is organized as uint16_t arrays. * @@ -419,8 +413,6 @@ void spiSend(SPIDriver *spip, size_t n, const void *txbuf) { * @details This synchronous function performs a receive operation. * @pre In order to use this function the option @p SPI_USE_WAIT must be * enabled. - * @pre In order to use this function the driver must have been configured - * without callbacks (@p end_cb = @p NULL). * @note The buffers are organized as uint8_t arrays for data sizes below * or equal to 8 bits else it is organized as uint16_t arrays. *