diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-05 11:27:02 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-05 11:27:02 +0200 |
commit | b5f7adfc1034f8a32d1528b462333d44f3a0a6b8 (patch) | |
tree | 7a8745fa6040e13811c1ae433a99861ee210df26 /apps/systemcmds/top/top.c | |
parent | 4f4a3a48bfc5908412ad3bfdf75742f1f73f74b2 (diff) | |
download | px4-firmware-b5f7adfc1034f8a32d1528b462333d44f3a0a6b8.tar.gz px4-firmware-b5f7adfc1034f8a32d1528b462333d44f3a0a6b8.tar.bz2 px4-firmware-b5f7adfc1034f8a32d1528b462333d44f3a0a6b8.zip |
Many Doxygen style fixes
Diffstat (limited to 'apps/systemcmds/top/top.c')
-rw-r--r-- | apps/systemcmds/top/top.c | 35 |
1 files changed, 11 insertions, 24 deletions
diff --git a/apps/systemcmds/top/top.c b/apps/systemcmds/top/top.c index af1bb23d9..cbbeb8cc0 100644 --- a/apps/systemcmds/top/top.c +++ b/apps/systemcmds/top/top.c @@ -1,8 +1,7 @@ /**************************************************************************** - * apps/reboot.c * - * Copyright (C) 2012 Lorenz Meier. All rights reserved. - * Author: Lorenz Meier <lm@inf.ethz.ch> + * Copyright (C) 2012 PX4 Development Team. All rights reserved. + * Author: @author Lorenz Meier <lm@inf.ethz.ch> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -14,7 +13,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be + * 3. Neither the name PX4 nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -33,10 +32,11 @@ * ****************************************************************************/ -/**************************************************************************** - * Included Files - ****************************************************************************/ - +/** + * @file top.c + * Tool similar to UNIX top command + * @see http://en.wikipedia.org/wiki/Top_unix + */ #include <nuttx/config.h> #include <stdio.h> @@ -49,24 +49,11 @@ #include <arch/board/up_cpuload.h> #include <arch/board/up_hrt.h> -/**************************************************************************** - * Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - +/** + * Start the top application. + */ __EXPORT int top_main(int argc, char *argv[]); -/**************************************************************************** - * user_start - ****************************************************************************/ - extern struct system_load_s system_load; bool top_sigusr1_rcvd = false; |