mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 16:53:34 +08:00
Configurable priority in high-level protocol logic classes
This commit is contained in:
@@ -346,7 +346,7 @@ public:
|
||||
* Destroy the object to stop it.
|
||||
* Returns negative error code.
|
||||
*/
|
||||
int start()
|
||||
int start(const TransferPriority priority = TransferPriority::OneHigherThanLowest)
|
||||
{
|
||||
int res = NodeStatusMonitor::start();
|
||||
if (res < 0)
|
||||
@@ -354,7 +354,7 @@ public:
|
||||
return res;
|
||||
}
|
||||
|
||||
res = get_node_info_client_.init();
|
||||
res = get_node_info_client_.init(priority);
|
||||
if (res < 0)
|
||||
{
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user