Stupid typo in allocation request manager

This commit is contained in:
Pavel Kirienko
2015-09-02 19:16:11 +03:00
parent e6bdbaeb72
commit 4dff5c2223
@@ -154,7 +154,7 @@ class AllocationRequestManager
}
const uint8_t expected_stage = getExpectedStage();
if (request_stage == InvalidStage)
if (expected_stage == InvalidStage)
{
UAVCAN_ASSERT(0);
return;