mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
uorb failure print topic name
This commit is contained in:
committed by
Lorenz Meier
parent
f45b9048aa
commit
61fd6f4c8a
@@ -473,7 +473,7 @@ int Logger::add_topic(const orb_metadata *topic)
|
||||
fd = orb_subscribe(topic);
|
||||
|
||||
if (fd < 0) {
|
||||
PX4_WARN("logger: orb_subscribe failed (%i)", errno);
|
||||
PX4_WARN("logger: %s subscribe failed (%i)", topic->o_name, errno);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user