add git-hook-gdscript.sh

This commit is contained in:
2025-02-28 10:05:13 +03:00
parent 01c2072bdb
commit 96bef82f47
10 changed files with 453 additions and 257 deletions

View File

@@ -33,6 +33,7 @@ var counter_fs_2: int = 0
# Яу-07б
signal yau_status_line(_status) ## Вызывается когда меняется состояние связи с ячейкой
signal yau_receive(_data_from_yau)
signal yau_feedback_receive(_data_from_yau)
signal yau_read_isa(_unit_isa_ports)
# ФС модуль
signal data_from_fs_1(data:PackedByteArray)
@@ -63,6 +64,8 @@ func poll_receive_yau07(sock: Socket) -> bool: ## Приёмник
unit.parse(broadcast_packet)
var data_from_yau_07 = unit.status
emit_signal('yau_receive', data_from_yau_07)
if sock == soc_unicast:
emit_signal('yau_feedback_receive', data_from_yau_07)
else:
if sock.get_available_packet_count():
last_update_time_yau07 = 0.0