mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 18:33:33 +08:00
refactor: remove '#define MODULE_NAME' from tests
And use target_compile_definitions() instead
This commit is contained in:
@@ -31,8 +31,6 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define MODULE_NAME "manual_control"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include "ManualControl.hpp"
|
||||
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define MODULE_NAME "rc_update"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include "rc_update.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user