From 56a69a4ba0762f4311b4d9f760b5f87a19c4417d Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Fri, 7 Feb 2014 19:55:02 +0400 Subject: [PATCH] Typo --- libuavcan/include/uavcan/internal/transport/transfer_buffer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libuavcan/include/uavcan/internal/transport/transfer_buffer.hpp b/libuavcan/include/uavcan/internal/transport/transfer_buffer.hpp index d86f2e57ac..19884eddba 100644 --- a/libuavcan/include/uavcan/internal/transport/transfer_buffer.hpp +++ b/libuavcan/include/uavcan/internal/transport/transfer_buffer.hpp @@ -351,7 +351,7 @@ public: void remove(uint8_t node_id) { - assert((node_id <= NODE_ID_MAX && node_id != NODE_ID_INVALID)); + assert((node_id <= NODE_ID_MAX) && (node_id != NODE_ID_INVALID)); TransferBufferManagerEntry* const tbme = findFirstStatic(node_id); if (tbme)