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

Commit

Permalink
Changed rounding for JADRO Radio
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciaran Fisher committed Sep 7, 2015
1 parent 4d321a2 commit 95f69a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Plugin/ClientMetaData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ namespace SimpleRadio
return false;
}

return true;

}

}
2 changes: 1 addition & 1 deletion Scripts/DCS-SimpleRadio/SimpleRadioInit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ function SR.exportRadioMI8(_data)
_data.radios[3].name = "JADRO-1A"
_data.radios[3].frequency = SR.getRadioFrequency(37)
_data.radios[3].modulation = 0
_data.radios[3].volume = SR.getRadioVolume(0, 743,{0.0,1.0},false)
_data.radios[3].volume = SR.getRadioVolume(0, 743,{0.0,1.0},false,500)

local _panel = GetDevice(0)
-- Get selected radio from SPU-9
Expand Down

0 comments on commit 95f69a5

Please sign in to comment.