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
@@ -57,7 +57,7 @@ class UAVCAN_EXPORT Node : public INode
return res;
}
NodeInitializer initializer(*this);
StaticAssert<(sizeof(initializer) < 1024)>::check();
StaticAssert<(sizeof(initializer) < 1200)>::check();
res = initializer.execute();
node_init_result = initializer.getResult();
return res;