From 9eb3ef05009cffd638b675a981aae70be7ed57dc Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Sun, 8 Aug 2021 21:38:01 +0200 Subject: [PATCH] Fixed rigctl server not starting on AOS --- core/src/version.h | 2 +- rigctl_server/src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/version.h b/core/src/version.h index 577ccf34..ddf7b304 100644 --- a/core/src/version.h +++ b/core/src/version.h @@ -1,3 +1,3 @@ #pragma once -#define VERSION_STR "1.0.1" \ No newline at end of file +#define VERSION_STR "1.0.2" \ No newline at end of file diff --git a/rigctl_server/src/main.cpp b/rigctl_server/src/main.cpp index 24554c80..f92875db 100644 --- a/rigctl_server/src/main.cpp +++ b/rigctl_server/src/main.cpp @@ -365,7 +365,7 @@ private: if (parts.size() == 0) { return; } // If the command is a compound command, execute each one separately - if (parts[0].size() > 1 && parts[0][0] != '\\') { + if (parts[0].size() > 1 && parts[0][0] != '\\' && parts[0] != "AOS" && parts[0] != "LOS") { std::string arguments; if (parts.size() > 1) { arguments = cmd.substr(parts[0].size()); } for (char c : parts[0]) {