mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
UAVCAN_TINY does not support GTSM, NCC, TSP - saves ~900 bytes
This commit is contained in:
parent
a298ad9ba2
commit
b18daa070b
@ -2,6 +2,9 @@
|
||||
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
|
||||
*/
|
||||
|
||||
#include <uavcan/impl_constants.hpp>
|
||||
#if !UAVCAN_TINY
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cassert>
|
||||
#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>
|
||||
*/
|
||||
|
||||
#include <uavcan/impl_constants.hpp>
|
||||
#if !UAVCAN_TINY
|
||||
|
||||
#include <cassert>
|
||||
#include <uavcan/debug.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>
|
||||
*/
|
||||
|
||||
#include <uavcan/impl_constants.hpp>
|
||||
#if !UAVCAN_TINY
|
||||
|
||||
#include <uavcan/protocol/transport_stats_provider.hpp>
|
||||
|
||||
namespace uavcan
|
||||
@ -33,3 +36,5 @@ int TransportStatsProvider::start()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user