Fix the fast channel switch keybind for rack mounted PRC-77s. Now it will have the same behaviour as turning the MHz knob in the UI, when stepping below/above the range, it will jump to the last/first valid frequency respectively.
Previously, due to sys_prc77/radio/fnc_getCurrentChannel.sqf always returning channel index 0, the fast channel switch keybind would only switch between channels of index -1 (breaks the radio UI) and +1 (31MHz).
When merged this pull request will:
Previously, due to
sys_prc77/radio/fnc_getCurrentChannel.sqf
always returning channel index0
, the fast channel switch keybind would only switch between channels of index-1
(breaks the radio UI) and+1
(31MHz).