mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
ARQ WIP - channel busy detection
This commit is contained in:
parent
cec7403491
commit
424f4738c5
1 changed files with 0 additions and 2 deletions
|
@ -387,7 +387,6 @@ class RF:
|
||||||
self.states.waitForTransmission()
|
self.states.waitForTransmission()
|
||||||
self.states.setTransmitting(True)
|
self.states.setTransmitting(True)
|
||||||
# if we're transmitting FreeDATA signals, reset channel busy state
|
# if we're transmitting FreeDATA signals, reset channel busy state
|
||||||
self.states.set("channel_busy", False)
|
|
||||||
self.log.debug(
|
self.log.debug(
|
||||||
"[MDM] TRANSMIT", mode="MORSE"
|
"[MDM] TRANSMIT", mode="MORSE"
|
||||||
)
|
)
|
||||||
|
@ -396,7 +395,6 @@ class RF:
|
||||||
txbuffer_out = cw.MorseCodePlayer().text_to_signal("DJ2LS-1")
|
txbuffer_out = cw.MorseCodePlayer().text_to_signal("DJ2LS-1")
|
||||||
|
|
||||||
self.transmit_audio(txbuffer_out)
|
self.transmit_audio(txbuffer_out)
|
||||||
self.states.set("channel_busy", False)
|
|
||||||
self.radio.set_ptt(False)
|
self.radio.set_ptt(False)
|
||||||
self.event_manager.send_ptt_change(False)
|
self.event_manager.send_ptt_change(False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue