mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 14:43:33 +08:00
Driver API moved to <uavcan/driver/*>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user