mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 05:43:34 +08:00
clang-tidy: partially fix readability-redundant-declaration
This commit is contained in:
@@ -56,8 +56,6 @@
|
||||
# error load_mon support requires CONFIG_SCHED_INSTRUMENTATION
|
||||
#endif
|
||||
|
||||
extern struct system_load_s system_load;
|
||||
|
||||
#define STACK_LOW_WARNING_THRESHOLD 300 ///< if free stack space falls below this, print a warning
|
||||
#define FDS_LOW_WARNING_THRESHOLD 3 ///< if free file descriptors fall below this, print a warning
|
||||
|
||||
|
||||
@@ -85,8 +85,6 @@ static Mavlink *_mavlink_instances = nullptr;
|
||||
*/
|
||||
extern "C" __EXPORT int mavlink_main(int argc, char *argv[]);
|
||||
|
||||
extern mavlink_system_t mavlink_system;
|
||||
|
||||
void mavlink_send_uart_bytes(mavlink_channel_t chan, const uint8_t *ch, int length)
|
||||
{
|
||||
Mavlink *m = Mavlink::get_instance(chan);
|
||||
|
||||
Reference in New Issue
Block a user