mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 05:23:33 +08:00
Rename all apps/examples/-/main.c to something unique
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5141 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -40,7 +40,7 @@ include $(APPDIR)/Make.defs
|
||||
# uIP very tiny web server example
|
||||
|
||||
ASRCS =
|
||||
CSRCS = main.c cgi.c httpd_fsdata.c
|
||||
CSRCS = uip_main.c cgi.c httpd_fsdata.c
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* examples/uip/main.c
|
||||
* examples/uip/uip_main.c
|
||||
*
|
||||
* Copyright (C) 2007, 2009-2012 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -201,7 +201,7 @@ int uip_main(int argc, char *argv[])
|
||||
while(1)
|
||||
{
|
||||
sleep(3);
|
||||
printf("main: Still running\n");
|
||||
printf("uip_main: Still running\n");
|
||||
#if CONFIG_NFILE_DESCRIPTORS > 0
|
||||
fflush(stdout);
|
||||
#endif
|
||||
Reference in New Issue
Block a user