mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 16:37:34 +08:00
fix formatting style for uORB
This commit is contained in:
@@ -689,6 +689,7 @@ uORB::DeviceNode *uORB::DeviceMaster::GetDeviceNode(const char *nodepath)
|
||||
std::string np(nodepath);
|
||||
|
||||
auto iter = _node_map.find(np);
|
||||
|
||||
if (iter != _node_map.end()) {
|
||||
rc = iter->second;
|
||||
}
|
||||
|
||||
@@ -98,6 +98,7 @@ uorb_main(int argc, char *argv[])
|
||||
PX4_WARN("orb is not running! start it first");
|
||||
return -ESRCH;
|
||||
}
|
||||
|
||||
uORBTest::UnitTest &t = uORBTest::UnitTest::instance();
|
||||
return t.test();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user