Merge branch 'dev' of github.com:paparazzi/paparazzi into hardware_test

This commit is contained in:
Bernard Davison
2012-02-15 14:28:11 +11:00
10 changed files with 14 additions and 8 deletions
@@ -28,6 +28,8 @@
#include "LPC21xx.h"
#include BOARD_CONFIG
#include "mcu_periph/sys_time.h"
/**
* On tiny (and booz) the ppm counter is running at the same speed as
* the systic counter. There is no reason for this to be true.
@@ -29,6 +29,8 @@
#ifndef PPM_ARCH_H
#define PPM_ARCH_H
#include "mcu_periph/sys_time.h"
/**
* On tiny (and booz) the ppm counter is running at the same speed as
* the systic counter. There is no reason for this to be true.
+1 -1
View File
@@ -142,7 +142,7 @@
#define PWM1_PINSEL_BIT 14
#define BOARD_HAS_BARO
#define BOARD_HAS_BARO 1
/*
* Modem
+1 -1
View File
@@ -37,6 +37,6 @@
#define BOARD_ADC_CHANNEL_3 ADC_Channel_0
#define BOARD_ADC_CHANNEL_4 ADC_Channel_15
#define BOARD_HAS_BARO
#define BOARD_HAS_BARO 1
#endif /* CONFIG_LISA_L_1_0_H */
+1 -1
View File
@@ -54,7 +54,7 @@
#define BOARD_ADC_CHANNEL_3 ADC_Channel_14
#define BOARD_ADC_CHANNEL_4 ADC_Channel_11
#define BOARD_HAS_BARO
#define BOARD_HAS_BARO 1
#define USE_OPENCM3 1
+1 -1
View File
@@ -76,6 +76,6 @@
#define PWM1_PINSEL_VAL 0x02
#define PWM1_PINSEL_BIT 14
#define BOARD_HAS_BARO
#define BOARD_HAS_BARO 1
#endif /* CONFIG_NAVGO_V1_0_H */
+1 -1
View File
@@ -99,6 +99,6 @@
#define SPI1_DRDY_EINT 0
#define SPI1_DRDY_VIC_IT VIC_EINT0
#define BOARD_HAS_BARO
#define BOARD_HAS_BARO 1
#endif /* CONFIG_UMARIM_V1_0_H */
@@ -245,7 +245,9 @@ extern uint8_t telemetry_mode_Ap_DefaultChannel;
#define PERIODIC_SEND_SCP_STATUS(_trans, _dev) {}
#endif
#ifdef BOARD_HAS_BARO
//FIXME: we need a better switch here...
#if BOARD_HAS_BARO && USE_BARO_AS_ALTIMETER
#include "subsystems/sensors/baro.h"
#define PERIODIC_SEND_BARO_RAW(_trans, _dev) { \
DOWNLINK_SEND_BARO_RAW(_trans, _dev, \
&baro.absolute, \
+1 -1
View File
@@ -69,7 +69,7 @@
#include "subsystems/datalink/datalink.h"
#include "subsystems/settings.h"
#include "subsystems/datalink/xbee.h"
#include "ap_downlink.h"
#include "firmwares/fixedwing/ap_downlink.h"
// modules & settings
#include "generated/modules.h"
+1 -1
View File
@@ -169,7 +169,7 @@
} \
}
#elif defined IMU_B2_MAG_TYPE && IMU_B2_MAG_TYPE == IMU_B2_MAG_HMC5843
include "peripherals/hmc5843.h"
#include "peripherals/hmc5843.h"
#define foo_handler() {}
#define ImuMagEvent(_mag_handler) { \
MagEvent(foo_handler); \