From 4f3955417a8bfdc7c37b35124b6d7bf2bc683645 Mon Sep 17 00:00:00 2001 From: Hugues Larrive Date: Wed, 8 Sep 2021 22:21:17 +0200 Subject: [PATCH] fixup! drivers/periph_api: change API of spi_acquire (from #15904) --- drivers/include/periph/spi.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/include/periph/spi.h b/drivers/include/periph/spi.h index eb7e8ca15277c..c5c90094e8b65 100644 --- a/drivers/include/periph/spi.h +++ b/drivers/include/periph/spi.h @@ -372,15 +372,13 @@ uint32_t spi_get_freq(spi_clk_t clk); * @param[in] mode mode to use for the new transaction * @param[in] clk opaque clock configuration obtain from @ref spi_get_clk * - * @return The actually used clock frequency in Hz - * * @pre All parameters are valid and supported, otherwise an assertion blows * up (if assertions are enabled). * * @post Exclusive access to the SPI bus is guaranteed until @ref spi_release * is called. */ -uint32_t spi_acquire(spi_t bus, spi_cs_t cs, spi_mode_t mode, spi_clk_t clk); +void spi_acquire(spi_t bus, spi_cs_t cs, spi_mode_t mode, spi_clk_t clk); /** * @brief Finish an ongoing SPI transaction by releasing the given SPI bus