mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 18:07:25 +08:00
whitespace cleanup, comment endif
This commit is contained in:
@@ -131,10 +131,10 @@ void ADC1_ISR ( void ) {
|
|||||||
#include "LPC21xx.h"
|
#include "LPC21xx.h"
|
||||||
#include "sys_time.h"
|
#include "sys_time.h"
|
||||||
|
|
||||||
uint16_t booz2_adc_1;
|
uint16_t booz2_adc_1;
|
||||||
uint16_t booz2_adc_2;
|
uint16_t booz2_adc_2;
|
||||||
uint16_t booz2_adc_3;
|
uint16_t booz2_adc_3;
|
||||||
uint16_t booz2_adc_4;
|
uint16_t booz2_adc_4;
|
||||||
|
|
||||||
void booz2_analog_init_hw( void ) {
|
void booz2_analog_init_hw( void ) {
|
||||||
|
|
||||||
@@ -184,10 +184,10 @@ void booz2_analog_init_hw( void ) {
|
|||||||
AD1CR |= 1 << 0;
|
AD1CR |= 1 << 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
booz2_adc_1 = 0;
|
booz2_adc_1 = 0;
|
||||||
booz2_adc_2 = 0;
|
booz2_adc_2 = 0;
|
||||||
booz2_adc_3 = 0;
|
booz2_adc_3 = 0;
|
||||||
booz2_adc_4 = 0;
|
booz2_adc_4 = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void booz2_analog_baro_read(void) {
|
void booz2_analog_baro_read(void) {
|
||||||
@@ -226,5 +226,4 @@ void booz2_analog_extra_adc_read(void) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // USE_EXTRA_ADC
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* $Id$
|
* $Id$
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2009 Antoine Drouin <poinix@gmail.com>
|
* Copyright (C) 2008-2009 Antoine Drouin <poinix@gmail.com>
|
||||||
*
|
*
|
||||||
* This file is part of paparazzi.
|
* This file is part of paparazzi.
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with paparazzi; see the file COPYING. If not, write to
|
* along with paparazzi; see the file COPYING. If not, write to
|
||||||
* the Free Software Foundation, 59 Temple Place - Suite 330,
|
* the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "booz2_analog.h"
|
#include "booz2_analog.h"
|
||||||
@@ -47,4 +47,3 @@ void booz2_analog_periodic( void ) {
|
|||||||
RunOnceEvery(50,booz2_analog_bat_read());
|
RunOnceEvery(50,booz2_analog_bat_read());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user