From 4dff5c2223746070a0385cdf8132c90eb06bf06a Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Wed, 2 Sep 2015 19:16:11 +0300 Subject: [PATCH] Stupid typo in allocation request manager --- .../dynamic_node_id_server/allocation_request_manager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libuavcan/include/uavcan/protocol/dynamic_node_id_server/allocation_request_manager.hpp b/libuavcan/include/uavcan/protocol/dynamic_node_id_server/allocation_request_manager.hpp index df43c1e41d..b68a7005d6 100644 --- a/libuavcan/include/uavcan/protocol/dynamic_node_id_server/allocation_request_manager.hpp +++ b/libuavcan/include/uavcan/protocol/dynamic_node_id_server/allocation_request_manager.hpp @@ -154,7 +154,7 @@ class AllocationRequestManager } const uint8_t expected_stage = getExpectedStage(); - if (request_stage == InvalidStage) + if (expected_stage == InvalidStage) { UAVCAN_ASSERT(0); return;