From 148e705af199bcf2a4766fb7e77f7e3c12411744 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Thu, 9 Oct 2025 14:41:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F.=20=D0=98=D1=81=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D1=8B=20=D0=B2=D1=8B=D0=B1=D0=BE=D1=80=D0=B0=20=D1=83?= =?UTF-8?q?=D0=B3=D0=BB=D0=B0=20=D0=BC=D0=B5=D1=81=D1=82=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/prd.gd | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/prd.gd b/scripts/prd.gd index 0e8e807..567156a 100644 --- a/scripts/prd.gd +++ b/scripts/prd.gd @@ -93,11 +93,11 @@ var fs_caps_id: Dictionary ## Словарь соответствия номе class Fs: const UM_PORTS: Dictionary = { 1 : 0x106, - 2 : 0x10A, + 2 : 0x108, 3 : 0x106, - 4 : 0x10A, + 4 : 0x108, 5 : 0x106, - 6 : 0x10A } + 6 : 0x108 } const CODE_UM: Array = [ [-5, 0], @@ -145,7 +145,7 @@ class Fs: if UM_PORTS.has(index/4): var val = um_code_tx if u.isa_ports.has(um_port): - val = tools.set_bits(u.isa_ports[um_port], um_code_tx, 0x0003) + val = tools.set_bits(u.isa_ports[um_port], um_code_tx, 0x0007) data_arr.append(um_port) data_arr.append(val) @@ -225,6 +225,7 @@ class PRD: func execute_cmd(): if not len(cmd_array): return + if unit_yau07.cmd_state != unit_yau07.CmdState.DONE: return var cmd: Array = cmd_array.pop_front() unit_yau07.send_isa(cmd[0], cmd[1])