fixes hardware out A2 for basic kind.

patch bump
This commit is contained in:
2023-09-06 16:20:04 +01:00
parent 962b61f60a
commit ed5f9ae45b
4 changed files with 22 additions and 11 deletions

View File

@@ -3,7 +3,10 @@ def _make_hardware_ins_cache(vm) -> dict:
def _make_hardware_outs_cache(vm) -> dict:
return {**{f"HARDWARE OUT||A{i + 1}": vm.bus[i].device.name for i in range(vm.kind.phys_out)}}
hw_outs = {**{f"HARDWARE OUT||A{i + 1}": vm.bus[i].device.name for i in range(vm.kind.phys_out)}}
if vm.kind.name == "basic":
hw_outs |= {f"HARDWARE OUT||A2": vm.bus[1].device.name}
return hw_outs
def _make_param_cache(vm, channel_type) -> dict: