Fix some typos; Make sure some private functions have static storage class
This commit is contained in:
parent
bc0fad6f20
commit
c4579e775a
@ -334,6 +334,7 @@ extern "C"
|
||||
/************************************************************************************
|
||||
* Public Function Prototypes
|
||||
************************************************************************************/
|
||||
|
||||
/************************************************************************************
|
||||
* Name: stm32_boardinitialize
|
||||
*
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user