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
Showing
- src/modules/uORB/uORB_tests/uORBTest_UnitTest.cpp 15 additions, 0 deletionssrc/modules/uORB/uORB_tests/uORBTest_UnitTest.cpp
- src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp 11 additions, 12 deletionssrc/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp
- src/modules/uORB/uORB_tests/uORB_tests_main.cpp 1 addition, 1 deletionsrc/modules/uORB/uORB_tests/uORB_tests_main.cpp
Please register or sign in to comment