forked from Archive/PX4-Autopilot
UAVCAN GNSS subscription name fix
This commit is contained in:
parent
0d9f6b6e2e
commit
f820010a2b
|
@ -47,7 +47,7 @@
|
|||
|
||||
UavcanGnssBridge::UavcanGnssBridge(uavcan::INode &node) :
|
||||
_node(node),
|
||||
_uavcan_sub_status(node),
|
||||
_sub_fix(node),
|
||||
_report_pub(-1)
|
||||
{
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ int UavcanGnssBridge::init()
|
|||
int res = -1;
|
||||
|
||||
// GNSS fix subscription
|
||||
res = _uavcan_sub_status.start(FixCbBinder(this, &UavcanGnssBridge::gnss_fix_sub_cb));
|
||||
res = _sub_fix.start(FixCbBinder(this, &UavcanGnssBridge::gnss_fix_sub_cb));
|
||||
if (res < 0)
|
||||
{
|
||||
warnx("GNSS fix sub failed %i", res);
|
||||
|
|
|
@ -77,7 +77,7 @@ private:
|
|||
* libuavcan related things
|
||||
*/
|
||||
uavcan::INode &_node;
|
||||
uavcan::Subscriber<uavcan::equipment::gnss::Fix, FixCbBinder> _uavcan_sub_status;
|
||||
uavcan::Subscriber<uavcan::equipment::gnss::Fix, FixCbBinder> _sub_fix;
|
||||
|
||||
/*
|
||||
* uORB
|
||||
|
|
Loading…
Reference in New Issue