Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Commit

Permalink
Version bug
Browse files Browse the repository at this point in the history
Lua bug fix for FC3 modulation
  • Loading branch information
Ciaran Fisher committed Nov 6, 2015
1 parent b2306e8 commit 9b0e53f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Installer/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public partial class MainWindow
{
const string REG_PATH = "HKEY_CURRENT_USER\\SOFTWARE\\DCS-SimpleRadio";

const string version = "1.2.0";
const string version = "1.2.1";

string currentPath;
string currentDirectory;
Expand Down
2 changes: 1 addition & 1 deletion Plugin/Plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static SimpleRadio::Plugin plugin;
namespace SimpleRadio
{
const char* Plugin::NAME = "DCS-SimpleRadio";
const char* Plugin::VERSION = "1.2.0";
const char* Plugin::VERSION = "1.2.1";
const char* Plugin::AUTHOR = "Ciribob - GitHub.com/ciribob";
const char* Plugin::DESCRIPTION = "DCS-SimpleRadio ";
const char* Plugin::COMMAND_KEYWORD = "sr";
Expand Down
Binary file modified Plugin/Plugin.rc
Binary file not shown.
4 changes: 2 additions & 2 deletions RadioGui/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
[assembly: AssemblyVersion("1.2.1.0")]
[assembly: AssemblyFileVersion("1.2.1.0")]
11 changes: 5 additions & 6 deletions Scripts/DCS-SimpleRadio/SimpleRadioInit.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Version 1.2.0
-- Version 1.2.1
SR = {}

SR.unicast = false -- if you've setup DCS Correctly and the plugin isn't talking to DCS,
Expand Down Expand Up @@ -122,9 +122,8 @@ LuaExportActivityNextEvent = function(tCurrent)

_update.radios[2].name = "FC3 VHF"
_update.radios[2].frequency = 124.8*1000000
_update.radios[2].modulation = 121.5*1000000
_update.radios[2].modulation = 0
_update.radios[2].secondaryFrequency = 121.5*1000000


_update.radios[3].name = "FC3 FM"
_update.radios[3].frequency = 30.0*1000000
Expand Down Expand Up @@ -155,9 +154,9 @@ LuaExportActivityNextEvent = function(tCurrent)
selected = 0,
radios =
{
{ id = 1, name = "CA UHF", frequency = 251.0*1000000, modulation = 0,volume = 1.0,secondaryFrequency = 243.0*1000000 },
{ id = 2, name = "CA VHF", frequency = 124.8*1000000, modulation = 0,volume = 1.0,secondaryFrequency = 121.5*1000000 },
{ id = 3, name = "CA FM", frequency = 30.0*1000000, modulation = 1,volume = 1.0,secondaryFrequency = 1 }
{ id = 1, name = "CA UHF", frequency = 251.0*1000000, modulation = 0,volume = 1.0, secondaryFrequency = 243.0*1000000 },
{ id = 2, name = "CA VHF", frequency = 124.8*1000000, modulation = 0,volume = 1.0, secondaryFrequency = 121.5*1000000 },
{ id = 3, name = "CA FM", frequency = 30.0*1000000, modulation = 1,volume = 1.0, secondaryFrequency = 1 }
},
hasRadio = false,
groundCommander = true
Expand Down

0 comments on commit 9b0e53f

Please sign in to comment.