stm32/boards/NUCLEO_F091RC: Fix TICK_INT_PRIORITY so it is highest prio.

Fixes issue #3880.
This commit is contained in:
Damien George 2018-06-20 12:23:46 +10:00
parent 5962c210c5
commit 561ae9a91b

View File

@ -162,9 +162,7 @@
* @brief This is the HAL system configuration section
*/
#define VDD_VALUE 3300U /*!< Value of VDD in mv */
#define TICK_INT_PRIORITY ((uint32_t)(1U<<__NVIC_PRIO_BITS) - 1U) /*!< tick interrupt priority (lowest by default) */
/* Warning: Must be set to higher priority for HAL_Delay() */
/* and HAL_GetTick() usage under interrupt context */
#define TICK_INT_PRIORITY ((uint32_t)0x00) /*!< tick interrupt priority */
#define USE_RTOS 0U
#define PREFETCH_ENABLE 1U
#define INSTRUCTION_CACHE_ENABLE 0U