mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 02:36:37 +08:00
Add rangefinder dependency to the CM8JL65 driver CMakeList and organize #includes.
This commit is contained in:
@@ -43,13 +43,14 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <termios.h>
|
||||||
|
|
||||||
|
#include <drivers/drv_hrt.h>
|
||||||
|
#include <drivers/rangefinder/PX4Rangefinder.hpp>
|
||||||
|
#include <perf/perf_counter.h>
|
||||||
#include <px4_config.h>
|
#include <px4_config.h>
|
||||||
#include <px4_platform_common/px4_work_queue/ScheduledWorkItem.hpp>
|
#include <px4_platform_common/px4_work_queue/ScheduledWorkItem.hpp>
|
||||||
#include <drivers/drv_hrt.h>
|
|
||||||
#include <lib/perf/perf_counter.h>
|
|
||||||
#include <lib/drivers/rangefinder/PX4Rangefinder.hpp>
|
|
||||||
|
|
||||||
#include <termios.h>
|
|
||||||
|
|
||||||
using namespace time_literals;
|
using namespace time_literals;
|
||||||
|
|
||||||
|
|||||||
@@ -39,4 +39,6 @@ px4_add_module(
|
|||||||
cm8jl65_main.cpp
|
cm8jl65_main.cpp
|
||||||
MODULE_CONFIG
|
MODULE_CONFIG
|
||||||
module.yaml
|
module.yaml
|
||||||
|
DEPENDS
|
||||||
|
drivers_rangefinder
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user