TransferBufferManager rewritten to move all the code into a non-generic subclass. STM32 test code size reduced to 176k (-O1)

This commit is contained in:
Pavel Kirienko
2014-04-09 11:52:05 +04:00
parent 9e5115948b
commit a8d12d2004
4 changed files with 217 additions and 232 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ struct NodeInitializerRemoteContext
TEST(NodeInitializer, Size)
{
std::cout << "sizeof(uavcan::NodeInitializer): " << sizeof(uavcan::NodeInitializer) << std::endl;
ASSERT_TRUE(sizeof(uavcan::NodeInitializer) < 1024);
ASSERT_TRUE(sizeof(uavcan::NodeInitializer) < 2048);
}