From a39234c0fd11d788aaab4b19de6bf01bf94f69fb Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Wed, 14 Nov 2018 11:44:03 +0800 Subject: [PATCH] Update Key interrupt priority and can work now, comment configUSE_TICK_HOOK in FreeRTOSConfig.h --- src/STM32L_FreeRTOS/board/stm32_key.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/STM32L_FreeRTOS/board/stm32_key.c b/src/STM32L_FreeRTOS/board/stm32_key.c index 7ba7b9d..a7cb3b8 100644 --- a/src/STM32L_FreeRTOS/board/stm32_key.c +++ b/src/STM32L_FreeRTOS/board/stm32_key.c @@ -30,7 +30,7 @@ RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOA, ENABLE); /* ��ʼ���ж����ȼ� */ - NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1); + NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2); NVIC_InitStructure.NVIC_IRQChannel = EXTI0_IRQn; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 3; NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; -- Gitblit v1.9.1