summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/configs/c5471evm/src/Makefile2
-rw-r--r--nuttx/configs/c5471evm/src/c5471_leds.c (renamed from nuttx/configs/c5471evm/src/up_leds.c)5
2 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/configs/c5471evm/src/Makefile b/nuttx/configs/c5471evm/src/Makefile
index fbb586caa..60db23060 100644
--- a/nuttx/configs/c5471evm/src/Makefile
+++ b/nuttx/configs/c5471evm/src/Makefile
@@ -39,7 +39,7 @@ CFLAGS += -I$(TOPDIR)/sched
ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT))
-CSRCS = up_leds.c
+CSRCS = c5471_leds.c
COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
diff --git a/nuttx/configs/c5471evm/src/up_leds.c b/nuttx/configs/c5471evm/src/c5471_leds.c
index 671104212..537338ef3 100644
--- a/nuttx/configs/c5471evm/src/up_leds.c
+++ b/nuttx/configs/c5471evm/src/c5471_leds.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * configs/c4371evm/src/up_leds.c
+ * configs/c5471evm/src/c5471_leds.c
*
* Copyright (C) 2007-2009, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -45,7 +45,7 @@
#include "up_internal.h"
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
#define CS2 *(volatile uint32_t*)0xffff2e08
@@ -107,4 +107,5 @@ void board_led_off(int led)
LEDS = g_ledstate;
}
}
+
#endif /* CONFIG_ARCH_LEDS */