From 92ff74efef89c834ed38bb9c6d4fed45db255633 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Tue, 9 Dec 2025 12:17:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/yau07.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/yau07.gd b/scripts/yau07.gd index 9c5e2fb8..d479647e 100644 --- a/scripts/yau07.gd +++ b/scripts/yau07.gd @@ -171,7 +171,7 @@ class YaU07 extends unit.Unit: cmd_code_tx = cmd_code return true - func send_load_ems_done(cmd_code: int): + func send_load_ems_done(cmd_code: int) -> bool: if (cmd_state == CmdState.WAIT) \ or (cmd_state == CmdState.SEND) \ or (cmd_state == CmdState.UNCK): @@ -185,6 +185,7 @@ class YaU07 extends unit.Unit: tx_len = 7 cmd_state = CmdState.SEND cmd_code_tx = cmd_code + return true ## Возвращает код команды ЯУ-07. ## rx_data - Принятые данные.