move analog differential pressure to standalone optional driver

This commit is contained in:
Daniel Agar
2021-02-23 13:28:29 -05:00
parent eed060f17b
commit 592b2e9dbe
10 changed files with 397 additions and 82 deletions
@@ -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