mirror of https://github.com/ARMmbed/mbed-os.git
Added missing #endif
parent
03a8cb5d30
commit
b4844e50a2
|
@ -23,6 +23,7 @@ WEAK void mbed_die(void) {
|
||||||
__disable_irq(); // dont allow interrupts to disturb the flash pattern
|
__disable_irq(); // dont allow interrupts to disturb the flash pattern
|
||||||
#if (DEVICE_ERROR_RED == 1)
|
#if (DEVICE_ERROR_RED == 1)
|
||||||
gpio_t led_red; gpio_init_out(&led_red, LED_RED);
|
gpio_t led_red; gpio_init_out(&led_red, LED_RED);
|
||||||
|
#endif
|
||||||
|
|
||||||
#elif (DEVICE_ERROR_PATTERN == 1)
|
#elif (DEVICE_ERROR_PATTERN == 1)
|
||||||
gpio_t led_1; gpio_init_out(&led_1, LED1);
|
gpio_t led_1; gpio_init_out(&led_1, LED1);
|
||||||
|
|
Loading…
Reference in New Issue