mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 07:03:35 +08:00
Refactored helper class InterlinkedTestNodes
This commit is contained in:
@@ -42,7 +42,7 @@ struct LogSink : public uavcan::ILogSink
|
||||
|
||||
TEST(Logger, Basic)
|
||||
{
|
||||
InterlinkedTestNodes nodes;
|
||||
InterlinkedTestNodesWithSysClock nodes;
|
||||
|
||||
uavcan::Logger logger(nodes.a);
|
||||
|
||||
@@ -105,7 +105,7 @@ TEST(Logger, Basic)
|
||||
|
||||
TEST(Logger, Cpp11Formatting)
|
||||
{
|
||||
InterlinkedTestNodes nodes;
|
||||
InterlinkedTestNodesWithSysClock nodes;
|
||||
|
||||
uavcan::Logger logger(nodes.a);
|
||||
logger.setLevel(uavcan::protocol::debug::LogLevel::DEBUG);
|
||||
|
||||
Reference in New Issue
Block a user