From b0baf661e7bf78e6e690632f218b2e777a329ae9 Mon Sep 17 00:00:00 2001 From: Cervenka Dusan Date: Thu, 12 Jan 2023 09:47:11 +0100 Subject: [PATCH] Remove redundant includes Signed-off-by: Cervenka Dusan --- test/common/unit_test_server.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/test/common/unit_test_server.cpp b/test/common/unit_test_server.cpp index aa755efc..10c8efc2 100644 --- a/test/common/unit_test_server.cpp +++ b/test/common/unit_test_server.cpp @@ -13,15 +13,13 @@ #if (defined(RPMSG) || defined(UART) || defined(MU)) extern "C" { -#if defined(RPMSG) -#define APP_ERPC_READY_EVENT_DATA (1) -#include "mcmgr.h" -#include "rpmsg_lite.h" -#include "app_core1.h" -#elif defined(UART) +#if defined(UART) #include "fsl_lpuart_cmsis.h" #include "app_core0.h" -#elif defined(MU) +#else +#if defined(RPMSG) +#include "rpmsg_lite.h" +#endif #define APP_ERPC_READY_EVENT_DATA (1) #include "mcmgr.h" #include "app_core1.h"