Use software counter in error handler after HAL is deactivated

This commit is contained in:
2026-07-04 18:22:22 +02:00
parent 397711e9fb
commit ff1335b0dc
+2 -2
View File
@@ -555,8 +555,8 @@ void Error_Handler(void)
while (1)
{
HAL_GPIO_TogglePin(led_error.port, led_error.pin);
HAL_Delay(250);
HAL_GPIO_TogglePin(led_error.port, led_error.pin);
for(volatile uint32_t i = 0; i < 4000000; i++);
}
/* USER CODE END Error_Handler_Debug */
}