Added missing #endif

pull/219/head
tkuyucu 2014-03-13 11:11:30 +01:00
parent 03a8cb5d30
commit b4844e50a2
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ WEAK void mbed_die(void) {
__disable_irq(); // dont allow interrupts to disturb the flash pattern
#if (DEVICE_ERROR_RED == 1)
gpio_t led_red; gpio_init_out(&led_red, LED_RED);
#endif
#elif (DEVICE_ERROR_PATTERN == 1)
gpio_t led_1; gpio_init_out(&led_1, LED1);
gpio_t led_2; gpio_init_out(&led_2, LED2);