add parameter command to change the transmitter timeout

This commit is contained in:
Jakob Meier
2023-02-02 16:00:53 +01:00
parent 1ad30f33a5
commit c0f936b757
3 changed files with 14 additions and 5 deletions

View File

@ -47,16 +47,15 @@ class ComSubsystem : public Subsystem, public ReceivesParameterMessagesIF {
void startRxAndTxDefaultSeq();
uint8_t datarateCfg = static_cast<uint8_t>(com::Datarate::LOW_RATE_MODULATION_BPSK);
// Maximum time after which the transmitter will be turned of. This is a
// protection mechanism due prevent the syrlinks from overheating
uint32_t transmitterTimeout = 0;
ParameterHelper paramHelper;
MessageQueueIF* eventQueue = nullptr;
bool enableTxWhenCarrierLock = false;
// Maximum time after which the transmitter will be turned of. This is a
// protection mechanism due prevent the syrlinks from overheating
uint32_t transmitterTimeout = 0;
// Countdown will be started as soon as the transmitter was enabled
Countdown transmitterCountdown;
};