From 589e9d80a7e91257e7fb7fda7cca2eea7e1c99f7 Mon Sep 17 00:00:00 2001 From: Emilio Corigliano <emilio.corigliano@skywarder.eu> Date: Wed, 2 Oct 2024 15:17:04 +0200 Subject: [PATCH] [AutomatedAntennas] Moved entrypoint into correct folder --- CMakeLists.txt | 3 ++- .../{ => AutomatedAntennas}/automated-antennas-entry.cpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) rename src/entrypoints/Groundstation/{ => AutomatedAntennas}/automated-antennas-entry.cpp (87%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b86f1083..94185b780 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -105,5 +105,6 @@ add_executable(nokia-groundstation-entry target_include_directories(nokia-groundstation-entry PRIVATE ${OBSW_INCLUDE_DIRS}) sbs_target(nokia-groundstation-entry stm32f429zi_skyward_groundstation_v2) -add_executable(automated-antennas-entry src/entrypoints/Groundstation/automated-antennas-entry.cpp) +add_executable(automated-antennas-entry src/entrypoints/Groundstation/AutomatedAntennas/automated-antennas-entry.cpp) +target_include_directories(automated-antennas-entry PRIVATE ${OBSW_INCLUDE_DIRS}) sbs_target(automated-antennas-entry stm32f407vg_stm32f4discovery) diff --git a/src/entrypoints/Groundstation/automated-antennas-entry.cpp b/src/entrypoints/Groundstation/AutomatedAntennas/automated-antennas-entry.cpp similarity index 87% rename from src/entrypoints/Groundstation/automated-antennas-entry.cpp rename to src/entrypoints/Groundstation/AutomatedAntennas/automated-antennas-entry.cpp index a344a65ad..da07883fc 100644 --- a/src/entrypoints/Groundstation/automated-antennas-entry.cpp +++ b/src/entrypoints/Groundstation/AutomatedAntennas/automated-antennas-entry.cpp @@ -1,7 +1,7 @@ #include <drivers/timer/TimestampTimer.h> #include <miosix.h> -#include "AutomatedAntennas/Converter.h" +#include "Converter.h" using namespace miosix; using namespace Boardcore; @@ -24,7 +24,7 @@ int main() } uint64_t end = TimestampTimer::getTimestamp(); - printf("Took %lld millis for %d calls.\n", (end - start) / 1000ull, N); + printf("Took %llu millis for %d calls.\n", (end - start) / 1000ull, N); return 0; } -- GitLab