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/arch/arm/src/kinetis | |
parent | cafcbeb3a0d16b13048d14fa8ef75cce2a87f738 (diff) | |
download | nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.tar.gz nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.tar.bz2 nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.zip |
rename up_led*() functions to board_led_*()
Diffstat (limited to 'nuttx/arch/arm/src/kinetis')
-rw-r--r-- | nuttx/arch/arm/src/kinetis/kinetis_allocateheap.c | 4 | ||||
-rw-r--r-- | nuttx/arch/arm/src/kinetis/kinetis_idle.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/kinetis/kinetis_allocateheap.c b/nuttx/arch/arm/src/kinetis/kinetis_allocateheap.c index 8f9379f0f..fab0b3cb5 100644 --- a/nuttx/arch/arm/src/kinetis/kinetis_allocateheap.c +++ b/nuttx/arch/arm/src/kinetis/kinetis_allocateheap.c @@ -130,7 +130,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size) /* Return the user-space heap settings */ - up_ledon(LED_HEAPALLOCATE); + board_led_on(LED_HEAPALLOCATE); *heap_start = (FAR void*)ubase; *heap_size = usize; @@ -141,7 +141,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size) /* Return the heap settings */ - up_ledon(LED_HEAPALLOCATE); + board_led_on(LED_HEAPALLOCATE); *heap_start = (FAR void*)g_idle_topstack; *heap_size = CONFIG_RAM_END - g_idle_topstack; #endif diff --git a/nuttx/arch/arm/src/kinetis/kinetis_idle.c b/nuttx/arch/arm/src/kinetis/kinetis_idle.c index bcf8218cb..8e2d3bbe6 100644 --- a/nuttx/arch/arm/src/kinetis/kinetis_idle.c +++ b/nuttx/arch/arm/src/kinetis/kinetis_idle.c @@ -52,8 +52,8 @@ */ #if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE) -# define BEGIN_IDLE() up_ledon(LED_IDLE) -# define END_IDLE() up_ledoff(LED_IDLE) +# define BEGIN_IDLE() board_led_on(LED_IDLE) +# define END_IDLE() board_led_off(LED_IDLE) #else # define BEGIN_IDLE() # define END_IDLE() |