From eda1f7e21239886bc04c5c30d3cbe7af53ad4f7d Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 16 Mar 2023 18:28:51 +0100 Subject: [PATCH] syrlinks event works --- mission/controller/ThermalController.cpp | 2 ++ mission/controller/ThermalController.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mission/controller/ThermalController.cpp b/mission/controller/ThermalController.cpp index f0a747ec..36cb6e8a 100644 --- a/mission/controller/ThermalController.cpp +++ b/mission/controller/ThermalController.cpp @@ -98,6 +98,7 @@ void ThermalController::performControlOperation() { if (initialCountdown.hasTimedOut()) { sif::info << "Starting thermal control operations" << std::endl; internalState = InternalState::READY; + break; } return; } @@ -109,6 +110,7 @@ void ThermalController::performControlOperation() { } if (cycles == 50) { + sif::debug << "ThermalController: changing limits" << std::endl; #if LOWER_SYRLINKS_UPPER_LIMITS == 1 sBandTransceiverLimits.cutOffLimit = 0; sBandTransceiverLimits.opUpperLimit = 0; diff --git a/mission/controller/ThermalController.h b/mission/controller/ThermalController.h index 9e9ca309..758ebb86 100644 --- a/mission/controller/ThermalController.h +++ b/mission/controller/ThermalController.h @@ -97,7 +97,7 @@ class ThermalController : public ExtendedControllerBase { uint32_t* msToReachTheMode) override; private: - static const uint32_t INIT_DELAY = 3000; + static const uint32_t INIT_DELAY = 1500; static const uint32_t TEMP_OFFSET = 5;