[examples] [maple] Fixed all warnings in the new leaf maple examples.

This commit is contained in:
Piotr Esden-Tempski
2013-02-26 19:53:57 -08:00
parent 6ce2c6e13d
commit 8a0b8fa9d8
4 changed files with 11 additions and 11 deletions

View File

@@ -23,7 +23,7 @@
#include <libopencm3/cm3/nvic.h>
#include <libopencm3/cm3/scb.h>
void clock_setup(void)
static void clock_setup(void)
{
rcc_clock_setup_in_hse_8mhz_out_72mhz();
@@ -34,7 +34,7 @@ void clock_setup(void)
rcc_peripheral_enable_clock(&RCC_APB1ENR, RCC_APB1ENR_USART2EN);
}
void usart_setup(void)
static void usart_setup(void)
{
/* Enable the USART2 interrupt. */
nvic_enable_irq(NVIC_USART2_IRQ);
@@ -62,7 +62,7 @@ void usart_setup(void)
usart_enable(USART2);
}
void gpio_setup(void)
static void gpio_setup(void)
{
gpio_set(GPIOA, GPIO5);