From f5ba6c717770c06ed7aba6e9c0fd88af45685e16 Mon Sep 17 00:00:00 2001 From: Andreas Berthoud Date: Sat, 3 Jul 2021 15:06:51 +0200 Subject: [PATCH] ble: Add HAL_GPIO_EXTI_Callback, but it is not working --- nucleo-wb55-ble/Core/Src/app_entry.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nucleo-wb55-ble/Core/Src/app_entry.c b/nucleo-wb55-ble/Core/Src/app_entry.c index f77eed4..87611f9 100644 --- a/nucleo-wb55-ble/Core/Src/app_entry.c +++ b/nucleo-wb55-ble/Core/Src/app_entry.c @@ -96,6 +96,15 @@ void APPE_Init( void ) return; } /* USER CODE BEGIN FD */ +void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) { + switch (GPIO_Pin) { + case SW1_Pin: + UTIL_SEQ_SetTask(1<