From b9bfe8df68832b802942f0604d56fa45dee4f384 Mon Sep 17 00:00:00 2001 From: Russell Gilbert Date: Fri, 20 Feb 2026 17:12:06 +0000 Subject: [PATCH] Uses DIXON_VERSION macro for version string Updates the version logging to use the DIXON_VERSION macro. This allows the version to be dynamically injected at compile time, instead of a hardcoded string. --- src/RobotNode/main.cpp | 2 +- src/RobotNode/version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RobotNode/main.cpp b/src/RobotNode/main.cpp index 21c95f6..b132916 100644 --- a/src/RobotNode/main.cpp +++ b/src/RobotNode/main.cpp @@ -46,7 +46,7 @@ int main() Dixon::DixonLogger logger("main"); // The "Splash Screen" - logger.info("Dixon core is starting. Version: {}", "1.x.x"); + logger.info("Dixon core is starting. Version: {}", DIXON_VERSION); const sigset_t set = prepare_signal_set(); pthread_sigmask(SIG_BLOCK, &set, nullptr); diff --git a/src/RobotNode/version.txt b/src/RobotNode/version.txt index 3c79fcb..91cc3fe 100644 --- a/src/RobotNode/version.txt +++ b/src/RobotNode/version.txt @@ -1 +1 @@ -1.0.56 \ No newline at end of file +1.0.57 \ No newline at end of file