forked from Archive/PX4-Autopilot
uORB::PublicationQueued don't unadvertise on destruction (#12674)
* this is a bit of a hack for vehicle_command and vehicle_command_ack usage
This commit is contained in:
parent
b5a01532ae
commit
6413525645
|
@ -59,7 +59,10 @@ public:
|
||||||
* @param meta The uORB metadata (usually from the ORB_ID() macro) for the topic.
|
* @param meta The uORB metadata (usually from the ORB_ID() macro) for the topic.
|
||||||
*/
|
*/
|
||||||
PublicationQueued(const orb_metadata *meta) : _meta(meta) {}
|
PublicationQueued(const orb_metadata *meta) : _meta(meta) {}
|
||||||
~PublicationQueued() { orb_unadvertise(_handle); }
|
~PublicationQueued()
|
||||||
|
{
|
||||||
|
//orb_unadvertise(_handle);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Publish the struct
|
* Publish the struct
|
||||||
|
|
Loading…
Reference in New Issue