pack syrlinks command correctly
This commit is contained in:
parent
39dfac2520
commit
df1bbe9ded
@ -190,18 +190,22 @@ def pack_syrlinks_command(
|
||||
)
|
||||
if op_code == OpCode.UPDATE_DEFAULT_DATARATE_LOW_RATE:
|
||||
q.add_log_cmd(f"{prefix}: {Info.UPDATE_DEFAULT_DATARATE_LOW_RATE}")
|
||||
q.add_pus_tc(
|
||||
create_load_param_cmd(
|
||||
pack_scalar_u8_parameter_app_data(
|
||||
obyt, 0, ParameterId.DATARATE, Datarate.LOW_RATE_MODULATION_BPSK
|
||||
)
|
||||
)
|
||||
)
|
||||
if op_code == OpCode.UPDATE_DEFAULT_DATARATE_HIGH_RATE:
|
||||
q.add_log_cmd(f"{prefix}: {Info.UPDATE_DEFAULT_DATARATE_HIGH_RATE}")
|
||||
q.add_pus_tc(
|
||||
create_load_param_cmd(
|
||||
pack_scalar_u8_parameter_app_data(
|
||||
obyt, 0, ParameterId.DATARATE, Datarate.HIGH_RATE_MODULATION_0QPSK
|
||||
)
|
||||
)
|
||||
)
|
||||
if op_code in OpCode.NORMAL_RX_AND_TX_CW:
|
||||
normal_mode_cmd(q, Info.NORMAL_RX_AND_TX_CW, Submode.RX_AND_TX_CW)
|
||||
if op_code in OpCode.HK_RX_REGS:
|
||||
|
Loading…
Reference in New Issue
Block a user