mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
Fix some typos; Make sure some private functions have static storage class
This commit is contained in:
@@ -334,6 +334,7 @@ extern "C"
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: stm32_boardinitialize
|
* 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.
|
* Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ static void board_led2_on(int led)
|
|||||||
xmc4_gpio_write(GPIO_LED2, ledon);
|
xmc4_gpio_write(GPIO_LED2, ledon);
|
||||||
}
|
}
|
||||||
|
|
||||||
void board_led1_off(int led)
|
static void board_led1_off(int led)
|
||||||
{
|
{
|
||||||
switch (led)
|
switch (led)
|
||||||
{
|
{
|
||||||
@@ -136,7 +136,7 @@ void board_led1_off(int led)
|
|||||||
xmc4_gpio_write(GPIO_LED1, false);
|
xmc4_gpio_write(GPIO_LED1, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void board_led2_off(int led)
|
static void board_led2_off(int led)
|
||||||
{
|
{
|
||||||
switch (led)
|
switch (led)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user