* added event when transmitter is turned on due to bitlock detection
* added event when tx timer has expired
This commit is contained in:
@ -166,6 +166,7 @@ void ComSubsystem::handleBitLockEvent() {
|
||||
rememberBitLock = true;
|
||||
return;
|
||||
}
|
||||
triggerEvent(BIT_LOCK_TX_ON);
|
||||
startRxAndTxLowRateSeq();
|
||||
}
|
||||
|
||||
@ -183,6 +184,7 @@ void ComSubsystem::startRxAndTxLowRateSeq() {
|
||||
|
||||
void ComSubsystem::checkTransmitterCountdown() {
|
||||
if (transmitterCountdown.hasTimedOut()) {
|
||||
triggerEvent(TX_TIMER_EXPIRED, transmitterTimeout);
|
||||
startTransition(com::Submode::RX_ONLY, SUBMODE_NONE);
|
||||
countdownActive = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user