tmtc improvements #62

Merged
muellerr merged 14 commits from meier/ploc into develop 2022-05-02 12:36:33 +02:00
Showing only changes of commit 6d80ad7476 - Show all commits

View File

@ -626,7 +626,7 @@ def pack_set_adc_enabled_channels_cmd(object_id: bytearray) -> bytearray:
@brief This function packs the command to enable or disable channels of the ADC.
@param object_id The object id of the PLOC supervisor handler.
"""
ch = int(input("Specify ch:"))
ch = int(input("Specify ch: 0x"), 16)
command = bytearray()
command = object_id + struct.pack("!I", SupvActionIds.SET_ADC_ENABLED_CHANNELS)
command = command + struct.pack("!H", ch)