diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-24 14:28:49 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-24 14:28:49 -0600 |
commit | ce7d02b55783779750eb4da036ad2185e7f7cf44 (patch) | |
tree | 8d1eebba9a1bb5c7942bcf89c617fff85df96045 /nuttx/configs/sama5d3x-ek | |
parent | cafcbeb3a0d16b13048d14fa8ef75cce2a87f738 (diff) | |
download | px4-nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.tar.gz px4-nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.tar.bz2 px4-nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.zip |
rename up_led*() functions to board_led_*()
Diffstat (limited to 'nuttx/configs/sama5d3x-ek')
-rw-r--r-- | nuttx/configs/sama5d3x-ek/src/sam_autoleds.c | 12 | ||||
-rw-r--r-- | nuttx/configs/sama5d3x-ek/src/sam_boot.c | 2 | ||||
-rw-r--r-- | nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/nuttx/configs/sama5d3x-ek/src/sam_autoleds.c b/nuttx/configs/sama5d3x-ek/src/sam_autoleds.c index afef4f3b2..f0a5da5b7 100644 --- a/nuttx/configs/sama5d3x-ek/src/sam_autoleds.c +++ b/nuttx/configs/sama5d3x-ek/src/sam_autoleds.c @@ -115,10 +115,10 @@ ****************************************************************************/ /**************************************************************************** - * Name: up_ledinit + * Name: board_led_initialize ****************************************************************************/ -void up_ledinit(void) +void board_led_initialize(void) { /* Configure LED PIOs for output */ @@ -127,10 +127,10 @@ void up_ledinit(void) } /**************************************************************************** - * Name: up_ledon + * Name: board_led_on ****************************************************************************/ -void up_ledon(int led) +void board_led_on(int led) { bool blueoff = true; /* Low illuminates */ bool redon = false; /* High illuminates */ @@ -158,10 +158,10 @@ void up_ledon(int led) } /**************************************************************************** - * Name: up_ledoff + * Name: board_led_off ****************************************************************************/ -void up_ledoff(int led) +void board_led_off(int led) { if (led != 2) { diff --git a/nuttx/configs/sama5d3x-ek/src/sam_boot.c b/nuttx/configs/sama5d3x-ek/src/sam_boot.c index a1efeeb98..660529f08 100644 --- a/nuttx/configs/sama5d3x-ek/src/sam_boot.c +++ b/nuttx/configs/sama5d3x-ek/src/sam_boot.c @@ -118,7 +118,7 @@ void sam_boardinitialize(void) #ifdef CONFIG_ARCH_LEDS /* Configure on-board LEDs if LED support has been selected. */ - up_ledinit(); + board_led_initialize(); #endif } diff --git a/nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h b/nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h index 3273c3b25..e19773c75 100644 --- a/nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h +++ b/nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h @@ -737,11 +737,11 @@ void weak_function sam_netinitialize(void); #endif /************************************************************************************ - * Name: up_ledinit + * Name: board_led_initialize ************************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void up_ledinit(void); +void board_led_initialize(void); #endif /************************************************************************************ |