mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 11:13:33 +08:00
systemlib delete unused systemlib.h
This commit is contained in:
committed by
Lorenz Meier
parent
fda25e9f3a
commit
d73d20bcce
@@ -45,7 +45,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <poll.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <parameters/param.h>
|
||||
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
#include <px4_log.h>
|
||||
#include <nuttx/wqueue.h>
|
||||
#include <nuttx/clock.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <uORB/uORB.h>
|
||||
#include <uORB/topics/vehicle_status.h>
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include <px4_defines.h>
|
||||
#include <px4_posix.h>
|
||||
#include <px4_tasks.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
|
||||
#include "FixedwingLandDetector.h"
|
||||
#include "MulticopterLandDetector.h"
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <systemlib/err.h>
|
||||
|
||||
#include "LandingTargetEstimator.h"
|
||||
|
||||
@@ -51,7 +51,6 @@
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <systemlib/cpuload.h>
|
||||
#include <perf/perf_counter.h>
|
||||
|
||||
|
||||
@@ -68,7 +68,6 @@
|
||||
#include <parameters/param.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <perf/perf_counter.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <systemlib/mavlink_log.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <dataman/dataman.h>
|
||||
|
||||
@@ -84,7 +84,6 @@
|
||||
#include <conversion/rotation.h>
|
||||
|
||||
#include <parameters/param.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <systemlib/mavlink_log.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <systemlib/airspeed.h>
|
||||
|
||||
@@ -59,7 +59,6 @@
|
||||
#include <px4_posix.h>
|
||||
#include <px4_tasks.h>
|
||||
#include <systemlib/mavlink_log.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <uORB/topics/fw_pos_ctrl_status.h>
|
||||
#include <uORB/topics/home_position.h>
|
||||
#include <uORB/topics/mission.h>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
|
||||
#include <perf/perf_counter.h>
|
||||
#include <systemlib/pwm_limit/pwm_limit.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
|
||||
#include <stm32_uart.h>
|
||||
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <stm32_pwr.h>
|
||||
#include <rc/dsm.h>
|
||||
#include <rc/sbus.h>
|
||||
|
||||
@@ -101,7 +101,6 @@
|
||||
#include <uORB/topics/cpuload.h>
|
||||
#include <uORB/topics/task_stack_info.h>
|
||||
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <parameters/param.h>
|
||||
#include <perf/perf_counter.h>
|
||||
#include <systemlib/printload.h>
|
||||
|
||||
@@ -69,7 +69,6 @@
|
||||
#include <drivers/drv_px4flow.h>
|
||||
|
||||
#include <systemlib/airspeed.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <parameters/param.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <perf/perf_counter.h>
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
/****************************************************************************
|
||||
*
|
||||
* Copyright (C) 2012 PX4 Development Team. All rights reserved.
|
||||
* Author: Lorenz Meier <lm@inf.ethz.ch>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
* 3. Neither the name PX4 nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
/**
|
||||
* @file systemlib.h
|
||||
* Definition of commonly used low-level system-call like functions.
|
||||
*/
|
||||
|
||||
#ifndef SYSTEMLIB_H_
|
||||
#define SYSTEMLIB_H_
|
||||
|
||||
#endif /* SYSTEMLIB_H_ */
|
||||
@@ -49,7 +49,6 @@
|
||||
#include <cstring>
|
||||
#include <fcntl.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <parameters/param.h>
|
||||
#include <lib/mixer/mixer.h>
|
||||
#include <systemlib/board_serial.h>
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#include <pthread.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <parameters/param.h>
|
||||
#include <lib/mixer/mixer.h>
|
||||
#include <systemlib/board_serial.h>
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include <systemlib/systemlib.h>
|
||||
#include "indication_controller.hpp"
|
||||
#include <uavcan/equipment/indication/LightsCommand.hpp>
|
||||
#include "led.hpp"
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#include <cstring>
|
||||
#include <fcntl.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <parameters/param.h>
|
||||
#include <lib/mixer/mixer.h>
|
||||
#include <systemlib/board_serial.h>
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include <systemlib/systemlib.h>
|
||||
#include "indication_controller.hpp"
|
||||
#include <uavcan/equipment/indication/LightsCommand.hpp>
|
||||
#include "led.hpp"
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
#include <px4_config.h>
|
||||
|
||||
#include <syslog.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
|
||||
#include "sim_controller.hpp"
|
||||
#include <uavcan/equipment/esc/RawCommand.hpp>
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
#include <cstring>
|
||||
#include <fcntl.h>
|
||||
#include <systemlib/err.h>
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <parameters/param.h>
|
||||
#include <lib/mixer/mixer.h>
|
||||
#include <systemlib/board_serial.h>
|
||||
|
||||
Reference in New Issue
Block a user