aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/can_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-22 12:29:20 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-22 12:29:20 +0000
commit167f5bc8781dd66539cd5db5a48f465457d9a8bb (patch)
tree109075fca4b5ebf8d5f7418e5bb5280564adc7f4 /os/hal/platforms/STM32/can_lld.h
parent51d47eb0795fb2acf0b374c0e348384654d84b17 (diff)
downloadChibiOS-167f5bc8781dd66539cd5db5a48f465457d9a8bb.tar.gz
ChibiOS-167f5bc8781dd66539cd5db5a48f465457d9a8bb.tar.bz2
ChibiOS-167f5bc8781dd66539cd5db5a48f465457d9a8bb.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1769 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/can_lld.h')
-rw-r--r--os/hal/platforms/STM32/can_lld.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/can_lld.h b/os/hal/platforms/STM32/can_lld.h
index 25f8a2105..7f1770770 100644
--- a/os/hal/platforms/STM32/can_lld.h
+++ b/os/hal/platforms/STM32/can_lld.h
@@ -83,10 +83,11 @@
/**
* @brief CAN1 interrupt priority level setting.
- * @note @p BASEPRI_KERNEL >= @p STM32_SPI1_IRQ_PRIORITY > @p PRIORITY_PENDSV.
+ * @note @p CORTEX_BASEPRI_KERNEL >= @p STM32_SPI1_IRQ_PRIORITY >
+ * @p CORTEX_PRIORITY_PENDSV.
*/
#if !defined(STM32_CAN1_IRQ_PRIORITY) || defined(__DOXYGEN__)
-#define STM32_CAN1_IRQ_PRIORITY 0xB0
+#define STM32_CAN1_IRQ_PRIORITY CORTEX_PRIORITY(11)
#endif
/*===========================================================================*/