aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2016-03-05 12:24:28 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2016-03-05 12:24:28 +0000
commit9e98a4762599258c2ceab208c0997a5ec9afeb38 (patch)
treeec622dcda20a01c01ccf95bb412ccceb9683aa99
parentff1d0020c724bfb39ae5792832f5836fb0739f0e (diff)
downloadChibiOS-9e98a4762599258c2ceab208c0997a5ec9afeb38.tar.gz
ChibiOS-9e98a4762599258c2ceab208c0997a5ec9afeb38.tar.bz2
ChibiOS-9e98a4762599258c2ceab208c0997a5ec9afeb38.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9023 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/STM32/LLD/SPIv1/spi_lld.c2
-rw-r--r--os/hal/ports/STM32/LLD/SPIv2/spi_lld.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/LLD/SPIv1/spi_lld.c b/os/hal/ports/STM32/LLD/SPIv1/spi_lld.c
index 89739453b..cd993920b 100644
--- a/os/hal/ports/STM32/LLD/SPIv1/spi_lld.c
+++ b/os/hal/ports/STM32/LLD/SPIv1/spi_lld.c
@@ -665,7 +665,7 @@ uint16_t spi_lld_polled_exchange(SPIDriver *spip, uint16_t frame) {
#if STM32_SPI_USE_BIDIMODE
osalDbgAssert((spip->spi->CR1 & SPI_CR1_BIDIMODE) == 0,
- "spiExchange() not possible with BIDIMODE");
+ "spiPolledExchange() not possible with BIDIMODE");
osalDbgAssert((spip->spi->CR1 & SPI_CR1_BIDIOE) != 0,
"BIDIOE not set");
#endif
diff --git a/os/hal/ports/STM32/LLD/SPIv2/spi_lld.c b/os/hal/ports/STM32/LLD/SPIv2/spi_lld.c
index 718ba7836..d7e766359 100644
--- a/os/hal/ports/STM32/LLD/SPIv2/spi_lld.c
+++ b/os/hal/ports/STM32/LLD/SPIv2/spi_lld.c
@@ -666,7 +666,7 @@ uint16_t spi_lld_polled_exchange(SPIDriver *spip, uint16_t frame) {
#if STM32_SPI_USE_BIDIMODE
osalDbgAssert((spip->spi->CR1 & SPI_CR1_BIDIMODE) == 0,
- "spiExchange() not possible with BIDIMODE");
+ "spiPolledExchange() not possible with BIDIMODE");
osalDbgAssert((spip->spi->CR1 & SPI_CR1_BIDIOE) != 0,
"BIDIOE not set");
#endif