From 38feb642c7b5a5764cc49a7cb7f93e3986264cb8 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sun, 1 Nov 2020 22:50:50 +0100 Subject: [PATCH] debug pin call refactored --- cube/User/Src/frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cube/User/Src/frontend.c b/cube/User/Src/frontend.c index ca20e93..f73a286 100644 --- a/cube/User/Src/frontend.c +++ b/cube/User/Src/frontend.c @@ -36,7 +36,7 @@ void frontendDisable() { void frontendAdcCallback(ADC_HandleTypeDef* hadc) { static int32_t holdValue = 0; - HAL_GPIO_TogglePin(Debug_Signal_1_GPIO_Port, Debug_Signal_1_Pin); + signal(DEBUG_2, TOGGLE); if (frontendEnabled) { int32_t currentValue = (int32_t) HAL_ADC_GetValue(hadc);