mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 22:43:33 +08:00
Configurable priority in high-level protocol logic classes
This commit is contained in:
@@ -50,7 +50,7 @@ void NodeStatusProvider::handleGetNodeInfoRequest(const protocol::GetNodeInfo::R
|
||||
rsp = node_info_;
|
||||
}
|
||||
|
||||
int NodeStatusProvider::startAndPublish(TransferPriority priority)
|
||||
int NodeStatusProvider::startAndPublish(const TransferPriority priority)
|
||||
{
|
||||
if (!isNodeInfoInitialized())
|
||||
{
|
||||
|
||||
@@ -19,6 +19,7 @@ const TransferPriority TransferPriority::Default((1U << BitLen) / 2);
|
||||
const TransferPriority TransferPriority::MiddleLower((1U << BitLen) / 2 + (1U << BitLen) / 4);
|
||||
const TransferPriority TransferPriority::OneHigherThanLowest(NumericallyMax - 1);
|
||||
const TransferPriority TransferPriority::OneLowerThanHighest(NumericallyMin + 1);
|
||||
const TransferPriority TransferPriority::Lowest(NumericallyMax);
|
||||
|
||||
/**
|
||||
* TransferID
|
||||
|
||||
Reference in New Issue
Block a user