paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [6255] whitespace cleanup


From: Felix Ruess
Subject: [paparazzi-commits] [6255] whitespace cleanup
Date: Mon, 25 Oct 2010 22:27:08 +0000

Revision: 6255
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=6255
Author:   flixr
Date:     2010-10-25 22:27:07 +0000 (Mon, 25 Oct 2010)
Log Message:
-----------
whitespace cleanup

Modified Paths:
--------------
    paparazzi3/trunk/sw/airborne/adc.h
    paparazzi3/trunk/sw/airborne/booz/arch/lpc21/booz2_pwm_hw.c
    paparazzi3/trunk/sw/airborne/booz/arch/lpc21/booz2_pwm_hw.h

Modified: paparazzi3/trunk/sw/airborne/adc.h
===================================================================
--- paparazzi3/trunk/sw/airborne/adc.h  2010-10-25 21:59:10 UTC (rev 6254)
+++ paparazzi3/trunk/sw/airborne/adc.h  2010-10-25 22:27:07 UTC (rev 6255)
@@ -1,6 +1,6 @@
 /*
  * Paparazzi adc functions
- *  
+ *
  * Copyright (C) 2003-2010 Paparazzi team
  *
  * This file is part of Paparazzi.
@@ -18,7 +18,7 @@
  * You should have received a copy of the GNU General Public License
  * along with Paparazzi; see the file COPYING.  If not, write to
  * the Free Software Foundation, 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA. 
+ * Boston, MA 02111-1307, USA.
  *
  */
 
@@ -37,7 +37,7 @@
 #include <inttypes.h>
 #include "adc_hw.h"
 
-/* Allow driver implementation to define 
+/* Allow driver implementation to define
  * number of available ADCs implicitly
  */
 #ifndef NB_ADC
@@ -47,32 +47,32 @@
 #define MAX_AV_NB_SAMPLE 0x20
 #define DEFAULT_AV_NB_SAMPLE 0x20
 
-/** 
- Generic interface for all ADC hardware drivers, independent from 
- microcontroller architecture. 
+/**
+ Generic interface for all ADC hardware drivers, independent from
+ microcontroller architecture.
 */
 
-/** 
-       Struct to collect samples from ADC and building an average 
-       over MAX_AV_NB_SAMPLE values. 
-       See @ref adc_buf_channel. 
+/**
+    Struct to collect samples from ADC and building an average
+    over MAX_AV_NB_SAMPLE values.
+    See @ref adc_buf_channel.
 */
 struct adc_buf {
-  uint16_t sum;                                                                
                         /* Sum of samples in buffer (avg = sum / av_nb_sample) 
*/
+  uint16_t sum;                                          /* Sum of samples in 
buffer (avg = sum / av_nb_sample) */
   uint16_t values[MAX_AV_NB_SAMPLE]; /* Buffer for sample values from ADC */
-  uint8_t  head;                                                               
                 /* Position index of write head in buffer */
-  uint8_t  av_nb_sample;                                                /* 
Number of samples to use in buffer (used for avg) */
+  uint8_t  head;                                         /* Position index of 
write head in buffer */
+  uint8_t  av_nb_sample;                         /* Number of samples to use 
in buffer (used for avg) */
 };
 
-/** 
-       Registers a buffer to be used to store the specified converted channel 
-       Usage: 
+/**
+    Registers a buffer to be used to store the specified converted channel
+    Usage:
 @code
-       struct adc_buf channel_buf; 
-       adc_buf_channel(1, &channel_buf, 12); 
+    struct adc_buf channel_buf;
+    adc_buf_channel(1, &channel_buf, 12);
 @endcode
-       Registers channel_buf as buffer for ADC channel 1, with max index 12 
-       (12 samples). 
+    Registers channel_buf as buffer for ADC channel 1, with max index 12
+    (12 samples).
 */
 void adc_buf_channel(uint8_t adc_channel, struct adc_buf* s, uint8_t 
av_nb_sample);
 

Modified: paparazzi3/trunk/sw/airborne/booz/arch/lpc21/booz2_pwm_hw.c
===================================================================
--- paparazzi3/trunk/sw/airborne/booz/arch/lpc21/booz2_pwm_hw.c 2010-10-25 
21:59:10 UTC (rev 6254)
+++ paparazzi3/trunk/sw/airborne/booz/arch/lpc21/booz2_pwm_hw.c 2010-10-25 
22:27:07 UTC (rev 6255)
@@ -1,6 +1,6 @@
 /*
  * $Id: $
- *  
+ *
  * Copyright (C) 2007  ENAC
  *
  * This file is part of paparazzi.
@@ -18,7 +18,7 @@
  * You should have received a copy of the GNU General Public License
  * along with paparazzi; see the file COPYING.  If not, write to
  * the Free Software Foundation, 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA. 
+ * Boston, MA 02111-1307, USA.
  *
  */
 
@@ -58,5 +58,3 @@
 
 
 }
-
-

Modified: paparazzi3/trunk/sw/airborne/booz/arch/lpc21/booz2_pwm_hw.h
===================================================================
--- paparazzi3/trunk/sw/airborne/booz/arch/lpc21/booz2_pwm_hw.h 2010-10-25 
21:59:10 UTC (rev 6254)
+++ paparazzi3/trunk/sw/airborne/booz/arch/lpc21/booz2_pwm_hw.h 2010-10-25 
22:27:07 UTC (rev 6255)
@@ -1,6 +1,6 @@
 /*
  * $Id: $
- *  
+ *
  * Copyright (C) 2007  ENAC
  *
  * This file is part of paparazzi.
@@ -18,7 +18,7 @@
  * You should have received a copy of the GNU General Public License
  * along with paparazzi; see the file COPYING.  If not, write to
  * the Free Software Foundation, 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA. 
+ * Boston, MA 02111-1307, USA.
  *
  */
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]