mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 02:30:36 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user