aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/SPIv2
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-26 11:32:57 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-26 11:32:57 +0000
commit36e66ea4f7dc9cbde7ddb1e5eb2e6dd87e32d015 (patch)
tree27e0dc5bc506fbf79fea3c8c6fc97c710af587b7 /os/hal/ports/STM32/LLD/SPIv2
parenta3e2fd30898b3890a53a505103b5e2535fc34533 (diff)
downloadChibiOS-36e66ea4f7dc9cbde7ddb1e5eb2e6dd87e32d015.tar.gz
ChibiOS-36e66ea4f7dc9cbde7ddb1e5eb2e6dd87e32d015.tar.bz2
ChibiOS-36e66ea4f7dc9cbde7ddb1e5eb2e6dd87e32d015.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7811 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/SPIv2')
-rw-r--r--os/hal/ports/STM32/LLD/SPIv2/spi_lld.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/LLD/SPIv2/spi_lld.h b/os/hal/ports/STM32/LLD/SPIv2/spi_lld.h
index 9cc375f83..bf7ddf700 100644
--- a/os/hal/ports/STM32/LLD/SPIv2/spi_lld.h
+++ b/os/hal/ports/STM32/LLD/SPIv2/spi_lld.h
@@ -146,17 +146,17 @@
#endif
#if STM32_SPI_USE_SPI1 && \
- !CORTEX_IS_VALID_KERNEL_PRIORITY(STM32_SPI_SPI1_IRQ_PRIORITY)
+ !OSAL_IRQ_IS_VALID_PRIORITY(STM32_SPI_SPI1_IRQ_PRIORITY)
#error "Invalid IRQ priority assigned to SPI1"
#endif
#if STM32_SPI_USE_SPI2 && \
- !CORTEX_IS_VALID_KERNEL_PRIORITY(STM32_SPI_SPI2_IRQ_PRIORITY)
+ !OSAL_IRQ_IS_VALID_PRIORITY(STM32_SPI_SPI2_IRQ_PRIORITY)
#error "Invalid IRQ priority assigned to SPI2"
#endif
#if STM32_SPI_USE_SPI3 && \
- !CORTEX_IS_VALID_KERNEL_PRIORITY(STM32_SPI_SPI3_IRQ_PRIORITY)
+ !OSAL_IRQ_IS_VALID_PRIORITY(STM32_SPI_SPI3_IRQ_PRIORITY)
#error "Invalid IRQ priority assigned to SPI3"
#endif