Many Doxygen style fixes

This commit is contained in:
Lorenz Meier
2012-08-05 11:27:02 +02:00
parent 4f4a3a48bf
commit b5f7adfc10
14 changed files with 134 additions and 77 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
* *
****************************************************************************/ ****************************************************************************/
/* /**
* @file fixedwing_control.c * @file fixedwing_control.c
* Implementation of a fixed wing attitude and position controller. * Implementation of a fixed wing attitude and position controller.
*/ */
+8 -5
View File
@@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* px4/sensors/test_sensors.c
* *
* Copyright (C) 2012 PX4 Development Team. All rights reserved. * 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 * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
@@ -13,7 +13,7 @@
* notice, this list of conditions and the following disclaimer in * notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the * the documentation and/or other materials provided with the
* distribution. * 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 * used to endorse or promote products derived from this software
* without specific prior written permission. * without specific prior written permission.
* *
@@ -32,9 +32,12 @@
* *
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /**
* Included Files * @file test_sensors.c
****************************************************************************/ * Tests the onboard sensors.
*
* The sensors app must not be running when performing this test.
*/
#include <nuttx/config.h> #include <nuttx/config.h>
+6 -5
View File
@@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* px4/sensors/tests_main.c
* *
* Copyright (C) 2012 PX4 Development Team. All rights reserved. * 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 * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
@@ -13,7 +13,7 @@
* notice, this list of conditions and the following disclaimer in * notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the * the documentation and/or other materials provided with the
* distribution. * 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 * used to endorse or promote products derived from this software
* without specific prior written permission. * without specific prior written permission.
* *
@@ -32,9 +32,10 @@
* *
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /**
* Included Files * @file tests_main.c
****************************************************************************/ * Tests main file, loads individual tests.
*/
#include <nuttx/config.h> #include <nuttx/config.h>
+5 -3
View File
@@ -3,7 +3,6 @@
* Copyright (C) 2012 PX4 Development Team. All rights reserved. * Copyright (C) 2012 PX4 Development Team. All rights reserved.
* Author: Lorenz Meier <lm@inf.ethz.ch> * Author: Lorenz Meier <lm@inf.ethz.ch>
* *
*
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
* are met: * are met:
@@ -33,7 +32,10 @@
* *
****************************************************************************/ ****************************************************************************/
/* @file autopilot and carrier board information app */ /**
* @file boardinfo.c
* autopilot and carrier board information app
*/
#include <nuttx/config.h> #include <nuttx/config.h>
@@ -46,7 +48,7 @@
__EXPORT int boardinfo_main(int argc, char *argv[]); __EXPORT int boardinfo_main(int argc, char *argv[]);
/* /**
* Reads out the board information * Reads out the board information
* *
* @param argc the number of string arguments (including the executable name) * @param argc the number of string arguments (including the executable name)
+7 -25
View File
@@ -1,8 +1,7 @@
/**************************************************************************** /****************************************************************************
* apps/reboot.c
* *
* Copyright (C) 2012 Lorenz Meier. All rights reserved. * Copyright (C) 2012 PX4 Development Team. All rights reserved.
* Author: Lorenz Meier <lm@inf.ethz.ch> * Author: @author Lorenz Meier <lm@inf.ethz.ch>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
@@ -14,7 +13,7 @@
* notice, this list of conditions and the following disclaimer in * notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the * the documentation and/or other materials provided with the
* distribution. * 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 * used to endorse or promote products derived from this software
* without specific prior written permission. * without specific prior written permission.
* *
@@ -33,10 +32,10 @@
* *
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /**
* Included Files * @file reboot.c
****************************************************************************/ * Tool similar to UNIX reboot command
*/
#include <nuttx/config.h> #include <nuttx/config.h>
#include <unistd.h> #include <unistd.h>
@@ -44,25 +43,8 @@
#include "systemlib/systemlib.h" #include "systemlib/systemlib.h"
/****************************************************************************
* Definitions
****************************************************************************/
/****************************************************************************
* Private Data
****************************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
__EXPORT int reboot_main(int argc, char *argv[]); __EXPORT int reboot_main(int argc, char *argv[]);
/****************************************************************************
* user_start
****************************************************************************/
int reboot_main(int argc, char *argv[]) int reboot_main(int argc, char *argv[])
{ {
reboot(); reboot();
+11 -24
View File
@@ -1,8 +1,7 @@
/**************************************************************************** /****************************************************************************
* apps/reboot.c
* *
* Copyright (C) 2012 Lorenz Meier. All rights reserved. * Copyright (C) 2012 PX4 Development Team. All rights reserved.
* Author: Lorenz Meier <lm@inf.ethz.ch> * Author: @author Lorenz Meier <lm@inf.ethz.ch>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
@@ -14,7 +13,7 @@
* notice, this list of conditions and the following disclaimer in * notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the * the documentation and/or other materials provided with the
* distribution. * 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 * used to endorse or promote products derived from this software
* without specific prior written permission. * 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 <nuttx/config.h>
#include <stdio.h> #include <stdio.h>
@@ -49,24 +49,11 @@
#include <arch/board/up_cpuload.h> #include <arch/board/up_cpuload.h>
#include <arch/board/up_hrt.h> #include <arch/board/up_hrt.h>
/**************************************************************************** /**
* Definitions * Start the top application.
****************************************************************************/ */
/****************************************************************************
* Private Data
****************************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
__EXPORT int top_main(int argc, char *argv[]); __EXPORT int top_main(int argc, char *argv[]);
/****************************************************************************
* user_start
****************************************************************************/
extern struct system_load_s system_load; extern struct system_load_s system_load;
bool top_sigusr1_rcvd = false; bool top_sigusr1_rcvd = false;
+3 -1
View File
@@ -32,7 +32,9 @@
****************************************************************************/ ****************************************************************************/
/** /**
* @file A simple serial line framing protocol based on HDLC * @file hx_stream.c
*
* A simple serial line framing protocol based on HDLC
* with 32-bit CRC protection. * with 32-bit CRC protection.
*/ */
+3 -1
View File
@@ -32,7 +32,9 @@
****************************************************************************/ ****************************************************************************/
/** /**
* @file A simple serial line framing protocol based on HDLC * @file hx_stream.h
*
* A simple serial line framing protocol based on HDLC
* with 32-bit CRC protection. * with 32-bit CRC protection.
*/ */
+36 -1
View File
@@ -1,5 +1,40 @@
/****************************************************************************
*
* Copyright (C) 2012 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 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.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
****************************************************************************/
/** /**
* @file Generic control value mixing library. * @file mixer.c
*
* Generic control value mixing library.
* *
* This library implements a generic mixer function that can be used * This library implements a generic mixer function that can be used
* by any driver or subsytem that wants to combine several control signals * by any driver or subsytem that wants to combine several control signals
+36 -1
View File
@@ -1,5 +1,40 @@
/****************************************************************************
*
* Copyright (C) 2012 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 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.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
****************************************************************************/
/** /**
* @file Generic control value mixing library. * @file mixer.h
*
* Generic control value mixing library.
* *
* This library implements a generic mixer function that can be used * This library implements a generic mixer function that can be used
* by any driver or subsytem that wants to combine several control signals * by any driver or subsytem that wants to combine several control signals
+2 -1
View File
@@ -32,7 +32,8 @@
****************************************************************************/ ****************************************************************************/
/** /**
* @file Performance measuring tools. * @file perf_counter.h
* Performance measuring tools.
*/ */
#ifndef _SYSTEMLIB_PERF_COUNTER_H #ifndef _SYSTEMLIB_PERF_COUNTER_H
+5 -2
View File
@@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* *
* Copyright (C) 2012 PX4 Development Team. All rights reserved. * Copyright (C) 2012 PX4 Development Team. All rights reserved.
* Author: Lorenz Meier <lm@inf.ethz.ch> * Author: @author Lorenz Meier <lm@inf.ethz.ch>
* *
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -33,7 +33,10 @@
* *
****************************************************************************/ ****************************************************************************/
/** @file implementation of commonly used low-level system-call like functions */ /**
* @file systemlib.c
* Implementation of commonly used low-level system-call like functions
*/
#include <nuttx/config.h> #include <nuttx/config.h>
#include <unistd.h> #include <unistd.h>
+4 -2
View File
@@ -3,7 +3,6 @@
* Copyright (C) 2012 PX4 Development Team. All rights reserved. * Copyright (C) 2012 PX4 Development Team. All rights reserved.
* Author: Lorenz Meier <lm@inf.ethz.ch> * Author: Lorenz Meier <lm@inf.ethz.ch>
* *
*
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
* are met: * are met:
@@ -33,7 +32,10 @@
* *
****************************************************************************/ ****************************************************************************/
/** @file definition of commonly used low-level system-call like functions */ /**
* @file systemlib.h
* Definition of commonly used low-level system-call like functions
*/
#ifndef SYSTEMLIB_H_ #ifndef SYSTEMLIB_H_
#define SYSTEMLIB_H_ #define SYSTEMLIB_H_
+3 -1
View File
@@ -32,7 +32,9 @@
****************************************************************************/ ****************************************************************************/
/** /**
* @file Definitions controlling symbol naming and visibility. * @file visibility.h
*
* Definitions controlling symbol naming and visibility.
* *
* This file is normally included automatically by the build system. * This file is normally included automatically by the build system.
*/ */