From 71166c586d50c9e54fefcb0611440f3dbc45f533 Mon Sep 17 00:00:00 2001 From: Bailey Date: Sun, 3 Oct 2021 17:00:10 +0900 Subject: [PATCH] Update JF-17.lua added unrounded comm1 and comm2 --- ExportsModules/JF-17.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ExportsModules/JF-17.lua b/ExportsModules/JF-17.lua index 5adbb01..53af337 100644 --- a/ExportsModules/JF-17.lua +++ b/ExportsModules/JF-17.lua @@ -448,6 +448,18 @@ end function ExportScript.ProcessDACConfigHighImportance(mainPanelDevice) end function ExportScript.ProcessIkarusDCSConfigLowImportance(mainPanelDevice) + +ExportScript.RadioTile(mainPanelDevice) + end function ExportScript.ProcessDACConfigLowImportance(mainPanelDevice) end + +function ExportScript.RadioTile(mainPanelDevice) --https://streamable.com/nnjgpt + + local radio1 = (GetDevice(25):get_frequency())/1000000 --left radio freq unrounded + local radio2 = (GetDevice(26):get_frequency())/1000000 --right radio freq unrounded + + ExportScript.Tools.SendData(3001, radio1) + ExportScript.Tools.SendData(3002, radio2) +end \ No newline at end of file