From ca7fbcf6a9f2c5427f17cec5a513666e406d44f2 Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Tue, 7 Mar 2023 07:26:09 +0100 Subject: [PATCH] reduced transmitter timeout to 2 minutes --- CHANGELOG.md | 6 ++++++ mission/system/tree/comModeTree.h | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b08ae006..57205863 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,12 @@ will consitute of a breaking change warranting a new major release: # [unreleased] +## Changed + +- Transmitter timeout set to 2 minutes instead of 15 minutes. This will prevent to discharge the battery + in case the syrlinks starts transmitting due to detection of unintentional bitlock. This happened e.g. on ground + when the uplink to the flying latop was established. + # [v1.35.1] 2023-03-04 ## Fixed diff --git a/mission/system/tree/comModeTree.h b/mission/system/tree/comModeTree.h index 9260e3ea..0ac7f9b3 100644 --- a/mission/system/tree/comModeTree.h +++ b/mission/system/tree/comModeTree.h @@ -11,8 +11,9 @@ extern ComSubsystem SUBSYSTEM; // The syrlinks must not transmitting longer then 15 minutes otherwise the // transceiver might be damaged due to overheating -// 15 minutes in milliseconds -static const uint32_t TRANSMITTER_TIMEOUT = 900000; +// This is the initial timeout of 2 minutes. The timeout needs to be incremented +// before each overpass +static const uint32_t TRANSMITTER_TIMEOUT = 120000; Subsystem& init(); } // namespace com -- 2.43.0