STM32: Higher default IRQ priority

This commit is contained in:
Pavel Kirienko
2014-04-05 01:39:20 +04:00
parent 6341be88fd
commit 38f57f343d
@@ -34,10 +34,9 @@
/**
* Priority mask for timer and CAN interrupts.
* Medium priority by default.
*/
#ifndef UAVCAN_STM32_IRQ_PRIORITY_MASK
# define UAVCAN_STM32_IRQ_PRIORITY_MASK CORTEX_PRIORITY_MASK((CORTEX_MAXIMUM_PRIORITY + CORTEX_MINIMUM_PRIORITY) / 2)
# define UAVCAN_STM32_IRQ_PRIORITY_MASK CORTEX_PRIORITY_MASK(CORTEX_MAX_KERNEL_PRIORITY)
#endif
/**