Доработка УФ

This commit is contained in:
TotMaxim
2025-12-07 16:01:46 +03:00
parent ed2fa02d2d
commit 4d50585cc1
5 changed files with 292 additions and 5 deletions

View File

@@ -355,11 +355,6 @@ func _encode_device_data(buffer: PackedByteArray) -> void:
func _encode_ems_g_data(buffer: PackedByteArray) -> void:
'''Кодирование данных EMS-G'''
#var ems_g_data = [
#0x9e00, 0xffff, 0xffff, 0x0000, 0xffff, 0xffff,
#0x0000, 0xffff, 0xffff, 0x0000, 0xffff, 0xffff,
#0xffff
#]
buffer.encode_u16(EMS_G_DATA_OFFSET, _input_const)
buffer.encode_u16(EMS_G_DATA_OFFSET + 6, _input_impulse)
buffer.encode_u16(EMS_G_DATA_OFFSET + 12, _output_const)