mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 12:33:35 +08:00
UAVCAN_TINY does not support GTSM, NCC, TSP - saves ~900 bytes
This commit is contained in:
@@ -2,6 +2,9 @@
|
|||||||
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
|
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <uavcan/impl_constants.hpp>
|
||||||
|
#if !UAVCAN_TINY
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <uavcan/protocol/global_time_sync_master.hpp>
|
#include <uavcan/protocol/global_time_sync_master.hpp>
|
||||||
@@ -192,3 +195,5 @@ int GlobalTimeSyncMaster::publish()
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
|
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <uavcan/impl_constants.hpp>
|
||||||
|
#if !UAVCAN_TINY
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <uavcan/debug.hpp>
|
#include <uavcan/debug.hpp>
|
||||||
#include <uavcan/protocol/network_compat_checker.hpp>
|
#include <uavcan/protocol/network_compat_checker.hpp>
|
||||||
@@ -194,3 +197,5 @@ int NetworkCompatibilityChecker::publishGlobalDiscoveryRequest(INode& node)
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
|
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <uavcan/impl_constants.hpp>
|
||||||
|
#if !UAVCAN_TINY
|
||||||
|
|
||||||
#include <uavcan/protocol/transport_stats_provider.hpp>
|
#include <uavcan/protocol/transport_stats_provider.hpp>
|
||||||
|
|
||||||
namespace uavcan
|
namespace uavcan
|
||||||
@@ -33,3 +36,5 @@ int TransportStatsProvider::start()
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user