mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed test frame
This commit is contained in:
parent
9497d323c8
commit
034577144b
|
@ -3159,8 +3159,10 @@ class DATA:
|
||||||
|
|
||||||
def send_test_frame(self) -> None:
|
def send_test_frame(self) -> None:
|
||||||
"""Send an empty test frame"""
|
"""Send an empty test frame"""
|
||||||
|
test_frame = bytearray(126)
|
||||||
|
test_frame[:1] = bytes([FR_TYPE.TEST_FRAME.value])
|
||||||
self.enqueue_frame_for_tx(
|
self.enqueue_frame_for_tx(
|
||||||
frame_to_tx=[bytearray(126)], c2_mode=FREEDV_MODE.datac3.value
|
frame_to_tx=[test_frame], c2_mode=FREEDV_MODE.datac3.value
|
||||||
)
|
)
|
||||||
|
|
||||||
def save_data_to_folder(self,
|
def save_data_to_folder(self,
|
||||||
|
|
Loading…
Reference in a new issue