mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Add FREEDV_MODE enum usage in test frame.
This commit is contained in:
parent
d16e98f4cd
commit
62cfdea72b
|
@ -2557,5 +2557,7 @@ class DATA:
|
|||
time.sleep(2)
|
||||
|
||||
def send_test_frame(self) -> None:
|
||||
"""Send a test (type 12) frame"""
|
||||
self.enqueue_frame_for_tx(frame_to_tx=bytearray(126), c2_mode=12)
|
||||
"""Send an empty test frame"""
|
||||
self.enqueue_frame_for_tx(
|
||||
frame_to_tx=bytearray(126), c2_mode=FREEDV_MODE.datac3.value
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue