From 9481cc2eb05c2df35cd4fcc039f09c593e042fff Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 15 Nov 2022 17:08:10 +0100 Subject: [PATCH] rename bsp hosted scheduling file --- bsp_hosted/CMakeLists.txt | 2 +- bsp_hosted/main.cpp | 2 +- bsp_hosted/{InitMission.cpp => scheduling.cpp} | 10 +++++----- bsp_hosted/{InitMission.h => scheduling.h} | 0 4 files changed, 7 insertions(+), 7 deletions(-) rename bsp_hosted/{InitMission.cpp => scheduling.cpp} (99%) rename bsp_hosted/{InitMission.h => scheduling.h} (100%) diff --git a/bsp_hosted/CMakeLists.txt b/bsp_hosted/CMakeLists.txt index 2804977d..ec2016b4 100644 --- a/bsp_hosted/CMakeLists.txt +++ b/bsp_hosted/CMakeLists.txt @@ -1,4 +1,4 @@ -target_sources(${OBSW_NAME} PUBLIC InitMission.cpp main.cpp ObjectFactory.cpp) +target_sources(${OBSW_NAME} PUBLIC scheduling.cpp main.cpp ObjectFactory.cpp) add_subdirectory(fsfwconfig) add_subdirectory(boardconfig) diff --git a/bsp_hosted/main.cpp b/bsp_hosted/main.cpp index 0e1fc01c..83f6777b 100644 --- a/bsp_hosted/main.cpp +++ b/bsp_hosted/main.cpp @@ -2,7 +2,6 @@ #include -#include "InitMission.h" #include "commonConfig.h" #include "fsfw/FSFWVersion.h" #include "fsfw/controller/ControllerBase.h" @@ -11,6 +10,7 @@ #include "fsfw/modes/ModeMessage.h" #include "fsfw/objectmanager/ObjectManager.h" #include "fsfw/tasks/TaskFactory.h" +#include "scheduling.h" #ifdef WIN32 static const char* COMPILE_PRINTOUT = "Windows"; diff --git a/bsp_hosted/InitMission.cpp b/bsp_hosted/scheduling.cpp similarity index 99% rename from bsp_hosted/InitMission.cpp rename to bsp_hosted/scheduling.cpp index 016985f4..bb50530b 100644 --- a/bsp_hosted/InitMission.cpp +++ b/bsp_hosted/scheduling.cpp @@ -1,6 +1,8 @@ -#include "InitMission.h" +#include "linux/scheduling.h" +#include "scheduling.h" +#include "ObjectFactory.h" +#include "OBSWConfig.h" -#include #include #include #include @@ -10,10 +12,8 @@ #include #include #include -#include -#include "../linux/scheduling.h" -#include "ObjectFactory.h" +#include #ifdef LINUX ServiceInterfaceStream sif::debug("DEBUG"); diff --git a/bsp_hosted/InitMission.h b/bsp_hosted/scheduling.h similarity index 100% rename from bsp_hosted/InitMission.h rename to bsp_hosted/scheduling.h