From 6dc0d2eda0934a1bb5b2686390cea68e9fa569bd Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Mon, 6 Jun 2016 11:51:58 -0400 Subject: Fix definition of LED_RED in mbed_die. --- .../TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/system_stm32f4xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4') diff --git a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/system_stm32f4xx.c b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/system_stm32f4xx.c index 2824fd6..02ecfa5 100644 --- a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/system_stm32f4xx.c +++ b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/system_stm32f4xx.c @@ -584,7 +584,7 @@ void mbed_die(void) { #ifdef HAL_GPIO_MODULE_ENABLED //HAL_GPIO_WritePin(LED_PORT, LED_RED, GPIO_PIN_SET); - HAL_GPIO_WritePin(GPIOJ, GPIO_PIN_1, GPIO_PIN_SET); + HAL_GPIO_WritePin(GPIOK, GPIO_PIN_7, GPIO_PIN_SET); #endif while (1) { ; } } -- cgit v1.2.3