From e07e04d1239d22f9d30ed30d4c29d6081caf649b Mon Sep 17 00:00:00 2001 From: dankers Date: Sat, 28 Nov 2009 11:07:38 +0000 Subject: [PATCH] Started making file comments in headers using Doxygen format git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@4 ebee16cc-31ac-478f-84a7-5cbb03baadba --- flight/Makefile | 47 ++++++++++++++++++++----------------- flight/sys/FreeRTOSConfig.h | 2 +- flight/sys/pios.c | 3 +++ 3 files changed, 29 insertions(+), 23 deletions(-) diff --git a/flight/Makefile b/flight/Makefile index ac3a441d0..08084d641 100644 --- a/flight/Makefile +++ b/flight/Makefile @@ -1,25 +1,28 @@ - # - # Project: OpenPilot - # - # @author The OpenPilot Team, http://www.openpilot.org, Copyright (C) 2009. - # - # @see The GNU Public License (GPL) - # - # - # This program is free software; you can redistribute it and/or modify - # it under the terms of the GNU General Public License as published by - # the Free Software Foundation; either version 3 of the License, or - # (at your option) any later version. - # - # This program is distributed in the hope that it will be useful, but - # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - # for more details. - # - # You should have received a copy of the GNU General Public License along - # with this program; if not, write to the Free Software Foundation, Inc., - # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - # +##### +# Project: OpenPilot +# +# @file Makefile +# Makefile for OpenPilot project build PiOS and the AP. +# +# @author The OpenPilot Team, http://www.openpilot.org, Copyright (C) 2009. +# +# @see The GNU Public License (GPL) +# +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +##### # Set developer code and compile options diff --git a/flight/sys/FreeRTOSConfig.h b/flight/sys/FreeRTOSConfig.h index e0cb766b6..e26a35864 100644 --- a/flight/sys/FreeRTOSConfig.h +++ b/flight/sys/FreeRTOSConfig.h @@ -19,7 +19,7 @@ #define configUSE_IDLE_HOOK 0 #define configUSE_TICK_HOOK 0 #define configCPU_CLOCK_HZ ( ( unsigned long ) 72000000 ) -#define configTICK_RATE_HZ ( ( portTickType ) 500 ) +#define configTICK_RATE_HZ ( ( portTickType ) 1000 ) #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 ) #define configMINIMAL_STACK_SIZE ( ( unsigned short ) 128 ) #define configTOTAL_HEAP_SIZE ( ( size_t ) ( 17 * 1024 ) ) diff --git a/flight/sys/pios.c b/flight/sys/pios.c index 26621849d..849c2483c 100644 --- a/flight/sys/pios.c +++ b/flight/sys/pios.c @@ -4,6 +4,9 @@ * * @author The OpenPilot Team, http://www.openpilot.org, Copyright (C) 2009. * + * @file pios.c + * PiOS build, sets up main tasks, tickhook and calls hardware setup + * * @see The GNU Public License (GPL) */ /*