mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Driver API moved to <uavcan/driver/*>
This commit is contained in:
parent
6eb660f11a
commit
cfbbe41777
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
#include <uavcan/stdint.hpp>
|
||||
#include <uavcan/impl_constants.hpp>
|
||||
#include <uavcan/system_clock.hpp>
|
||||
#include <uavcan/driver/system_clock.hpp>
|
||||
|
||||
namespace uavcan
|
||||
{
|
||||
@ -11,8 +11,8 @@
|
||||
#include <uavcan/dynamic_memory.hpp>
|
||||
#include <uavcan/impl_constants.hpp>
|
||||
#include <uavcan/util/compile_time.hpp>
|
||||
#include <uavcan/can_driver.hpp>
|
||||
#include <uavcan/system_clock.hpp>
|
||||
#include <uavcan/driver/can.hpp>
|
||||
#include <uavcan/driver/system_clock.hpp>
|
||||
#include <uavcan/time.hpp>
|
||||
|
||||
namespace uavcan
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <uavcan/can_driver.hpp>
|
||||
#include <uavcan/driver/can.hpp>
|
||||
|
||||
namespace uavcan
|
||||
{
|
||||
@ -5,9 +5,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <cassert>
|
||||
#include <uavcan/system_clock.hpp>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include <uavcan/driver/system_clock.hpp>
|
||||
|
||||
class SystemClockMock : public uavcan::ISystemClock
|
||||
{
|
||||
|
||||
@ -10,8 +10,8 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include <uavcan/transport/can_io.hpp>
|
||||
#include <uavcan/transport/frame.hpp>
|
||||
#include <uavcan/can_driver.hpp>
|
||||
#include <uavcan/system_clock.hpp>
|
||||
#include <uavcan/driver/can.hpp>
|
||||
#include <uavcan/driver/system_clock.hpp>
|
||||
#include "../../clock.hpp"
|
||||
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include "can.hpp"
|
||||
#include <uavcan/can_driver.hpp>
|
||||
#include <uavcan/driver/can.hpp>
|
||||
|
||||
TEST(CanFrame, FrameProperties)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user