aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c b/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c
index fd7222509..f5ee5db58 100644
--- a/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c
+++ b/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c
@@ -906,7 +906,7 @@ void spi_lld_start(SPIDriver *spip) {
chDbgAssert((spip->tx1_channel != EDMA_ERROR) &&
(spip->tx2_channel != EDMA_ERROR) &&
(spip->rx_channel != EDMA_ERROR),
- "spi_lld_start(), #3", "channel cannot be allocated");
+ "spi_lld_start(), #2", "channel cannot be allocated");
}
/* Configures the peripheral.*/