mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 06:23:34 +08:00
TransferListenerWithFilter - NULL checks removed as they were conflicting with ServiceClient<>'s logic
This commit is contained in:
@@ -218,9 +218,7 @@ public:
|
||||
|
||||
void installAcceptanceFilter(const ITransferAcceptanceFilter* acceptance_filter)
|
||||
{
|
||||
UAVCAN_ASSERT(filter_ == NULL);
|
||||
filter_ = acceptance_filter;
|
||||
UAVCAN_ASSERT(filter_ != NULL);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user