Fix some typos; Make sure some private functions have static storage class

This commit is contained in:
Gregory Nutt 2017-03-22 11:04:44 -06:00
parent bc0fad6f20
commit c4579e775a
3 changed files with 4 additions and 3 deletions

View File

@ -334,6 +334,7 @@ extern "C"
/************************************************************************************
* Public Function Prototypes
************************************************************************************/
/************************************************************************************
* Name: stm32_boardinitialize
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* configs/olimex-stm32-p107/src/olimex-stm32-p407.h
* configs/olimex-stm32-p407/src/olimex-stm32-p407.h
*
* Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -119,7 +119,7 @@ static void board_led2_on(int led)
xmc4_gpio_write(GPIO_LED2, ledon);
}
void board_led1_off(int led)
static void board_led1_off(int led)
{
switch (led)
{
@ -136,7 +136,7 @@ void board_led1_off(int led)
xmc4_gpio_write(GPIO_LED1, false);
}
void board_led2_off(int led)
static void board_led2_off(int led)
{
switch (led)
{