mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-21 05:27:34 +08:00
clang-tidy fix mathlib headers and format
This commit is contained in:
@@ -364,7 +364,7 @@ public:
|
||||
/**
|
||||
* Gets the uORB Communicator instance.
|
||||
*/
|
||||
uORBCommunicator::IChannel *get_uorb_communicator(void);
|
||||
uORBCommunicator::IChannel *get_uorb_communicator();
|
||||
|
||||
/**
|
||||
* Utility method to check if there is a remote subscriber present
|
||||
|
||||
@@ -86,7 +86,7 @@ private:
|
||||
// Disallow copy
|
||||
UnitTest(const uORBTest::UnitTest &) {};
|
||||
static int pubsubtest_threadEntry(char *const argv[]);
|
||||
int pubsublatency_main(void);
|
||||
int pubsublatency_main();
|
||||
|
||||
static int pub_test_multi2_entry(char *const argv[]);
|
||||
int pub_test_multi2_main();
|
||||
@@ -133,7 +133,7 @@ int uORBTest::UnitTest::latency_test(orb_id_t T, bool print)
|
||||
return test_fail("orb_advertise failed (%i)", errno);
|
||||
}
|
||||
|
||||
char *const args[1] = { NULL };
|
||||
char *const args[1] = { nullptr };
|
||||
|
||||
pubsubtest_print = print;
|
||||
pubsubtest_passed = false;
|
||||
|
||||
Reference in New Issue
Block a user