mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 03:21:35 +08:00
move analog differential pressure to standalone optional driver
This commit is contained in:
@@ -51,7 +51,5 @@
|
||||
#define ADC_BATTERY_CURRENT_CHANNEL -1
|
||||
#define ADC_AIRSPEED_VOLTAGE_CHANNEL 2
|
||||
|
||||
#define ADC_DP_V_DIV 1.0f
|
||||
|
||||
#include <system_config.h>
|
||||
#include <px4_platform_common/board_common.h>
|
||||
|
||||
@@ -52,7 +52,6 @@
|
||||
#define ADC_AIRSPEED_VOLTAGE_CHANNEL 2
|
||||
|
||||
#define BOARD_BATTERY1_V_DIV 5.7f // 1K + 4.7K
|
||||
#define ADC_DP_V_DIV 1.0f
|
||||
|
||||
#define BOARD_ADC_OPEN_CIRCUIT_V 5.3f // Powered from USB
|
||||
|
||||
|
||||
Reference in New Issue
Block a user