STM32F746G-DISCO: Fix a couple of compilation problems

This commit is contained in:
Gregory Nutt 2015-07-17 15:42:40 -06:00
parent 1a85720d42
commit d69cc38fe1
2 changed files with 5 additions and 2 deletions

View File

@ -75,9 +75,9 @@
void board_led_initialize(void)
{
/* Configure the LD1 GPIO for output. Initial state is OFF */
/* Configure the LD1 GPIO for output. Initial state is OFF */
stm32_configgpio(GPIO_LD1);
stm32_configgpio(GPIO_LD1);
}
/****************************************************************************
@ -140,3 +140,5 @@ void board_led_off(int led)
break;
}
}
#endif /* CONFIG_ARCH_LEDS */

View File

@ -42,6 +42,7 @@
#include <nuttx/irq.h>
#include <nuttx/board.h>
#include "stm32_gpio.h"
#include "stm32f746g-disco.h"
#ifdef CONFIG_ARCH_BUTTONS