Add rangefinder dependency to the CM8JL65 driver CMakeList and organize #includes.

This commit is contained in:
mcsauder 2019-10-23 10:11:59 -06:00 committed by Daniel Agar
parent 4a76f608ac
commit 71a7bf420e
2 changed files with 7 additions and 4 deletions

View File

@ -43,13 +43,14 @@
#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_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;

View File

@ -39,4 +39,6 @@ px4_add_module(
cm8jl65_main.cpp
MODULE_CONFIG
module.yaml
DEPENDS
drivers_rangefinder
)