Skip to content

Commit 0f53e3e

Browse files
Small changes
1 parent 2422e02 commit 0f53e3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interfaces/obc_gs_interface/commands/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ def create_cmd_arm(cmd_arm: c_uint, cmd_arm_id: c_uint32, unixtime_of_execution:
428428
"""
429429
cmd_msg = CmdMsg(unixtime_of_execution)
430430
cmd_msg.id = CmdCallbackId.CMD_ARM
431-
cmd_msg.cmdArm.cmd_arm = c_uint(cmd_arm)
432-
cmd_msg.cmdArm.cmd_arm_id = c_uint32(cmd_arm_id)
431+
cmd_msg.cmdArm.cmd_arm = c_uint(cmd_arm.value)
432+
cmd_msg.cmdArm.cmd_arm_id = c_uint32(cmd_arm_id.value)
433433
return cmd_msg
434434

435435

0 commit comments

Comments
 (0)