mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-05 10:41:36 +08:00
Delete unnecessary #includes in the differential_pressure drivers directory.
This commit is contained in:
@@ -31,8 +31,6 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include "SDP3X.hpp"
|
||||
|
||||
/**
|
||||
* @file SDP3X.hpp
|
||||
*
|
||||
@@ -40,6 +38,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "SDP3X.hpp"
|
||||
|
||||
int
|
||||
SDP3X::probe()
|
||||
{
|
||||
|
||||
@@ -43,15 +43,9 @@
|
||||
#define DRIVERS_SDP3X_AIRSPEED_HPP_
|
||||
|
||||
#include <drivers/airspeed/airspeed.h>
|
||||
#include <drivers/device/i2c.h>
|
||||
#include <drivers/drv_airspeed.h>
|
||||
#include <math.h>
|
||||
#include <mathlib/math/filter/LowPassFilter2p.hpp>
|
||||
#include <px4_config.h>
|
||||
#include <sys/types.h>
|
||||
#include <perf/perf_counter.h>
|
||||
#include <uORB/topics/differential_pressure.h>
|
||||
#include <uORB/uORB.h>
|
||||
#include <px4_getopt.h>
|
||||
|
||||
#define I2C_ADDRESS_1_SDP3X 0x21
|
||||
#define I2C_ADDRESS_2_SDP3X 0x22
|
||||
|
||||
@@ -33,10 +33,6 @@
|
||||
|
||||
#include "SDP3X.hpp"
|
||||
|
||||
#include <px4_getopt.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
// Driver 'main' command.
|
||||
extern "C" __EXPORT int sdp3x_airspeed_main(int argc, char *argv[]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user