mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 04:43:34 +08:00
uorb tests: move orb metadata struct definition into cpp file
If they're in the header and the header is used in multiple .cpp, there are multiple definitions. Oddly it did not lead to an error, but there were multiple structs of the same topic but with different adresses. This lead to a metadata mismatch, when running eg: uorb_tests uorb_tests latency_test
This commit is contained in:
@@ -44,7 +44,7 @@ extern "C" { __EXPORT int uorb_tests_main(int argc, char *argv[]); }
|
||||
|
||||
static void usage()
|
||||
{
|
||||
PX4_INFO("Usage: uorb_test 'latency_test'");
|
||||
PX4_INFO("Usage: uorb_tests [latency_test]");
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user