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);