mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 17:23:34 +08:00
Correct CORTEX_MAX_KERNEL_PRIORITY use
Now the NVIC minidriver always take the priority as parameter, the use of the CORTEX_PRIORITY_MASK() macro is no more required. Reference: http://www.chibios.org/dokuwiki/doku.php?id=chibios:articles:porting_from_2_to_3
This commit is contained in:
@@ -54,7 +54,7 @@
|
|||||||
* Priority mask for timer and CAN interrupts.
|
* Priority mask for timer and CAN interrupts.
|
||||||
*/
|
*/
|
||||||
# ifndef UAVCAN_STM32_IRQ_PRIORITY_MASK
|
# ifndef UAVCAN_STM32_IRQ_PRIORITY_MASK
|
||||||
# define UAVCAN_STM32_IRQ_PRIORITY_MASK CORTEX_PRIO_MASK(CORTEX_MAX_KERNEL_PRIORITY)
|
# define UAVCAN_STM32_IRQ_PRIORITY_MASK CORTEX_MAX_KERNEL_PRIORITY
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user