diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-08-13 23:48:00 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-08-14 13:08:52 +0200 |
commit | 41fffa0df192e4a26d2325c7ac5d9b5d7ba0211c (patch) | |
tree | ee0ee81550d863544e4b4b7b5fb428d44f86bf2a /nuttx/arch/arm/src/stm32/stm32_sdio.c | |
parent | 088146b90eee5b614ea6386a64dae343a49a5172 (diff) | |
download | nuttx-41fffa0df192e4a26d2325c7ac5d9b5d7ba0211c.tar.gz nuttx-41fffa0df192e4a26d2325c7ac5d9b5d7ba0211c.tar.bz2 nuttx-41fffa0df192e4a26d2325c7ac5d9b5d7ba0211c.zip |
Add "#ifdef CONFIG_ARCH_IRQPRIO" where needed
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32_sdio.c')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_sdio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_sdio.c b/nuttx/arch/arm/src/stm32/stm32_sdio.c index 7a351a9de..01663d0a5 100644 --- a/nuttx/arch/arm/src/stm32/stm32_sdio.c +++ b/nuttx/arch/arm/src/stm32/stm32_sdio.c @@ -1664,9 +1664,11 @@ static int stm32_attach(FAR struct sdio_dev_s *dev) up_enable_irq(STM32_IRQ_SDIO); +#ifdef CONFIG_ARCH_IRQPRIO /* Set the interrrupt priority */ up_prioritize_irq(STM32_IRQ_SDIO, CONFIG_SDIO_PRI); +#endif } return ret; |