mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 20:23:34 +08:00
Support for priority in TransferSender
This commit is contained in:
@@ -35,6 +35,7 @@ uint_fast8_t Frame::getMaxIndexForTransferType(const TransferType type)
|
||||
|
||||
void Frame::setPriority(const TransferPriority priority)
|
||||
{
|
||||
UAVCAN_ASSERT(priority < NumTransferPriorities);
|
||||
if (transfer_type_ == TransferTypeMessageBroadcast ||
|
||||
transfer_type_ == TransferTypeMessageUnicast)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user