Page MenuHomeFeedback Tracker

StaticTransmitter.GetTunedFrequencyIndex() returns values beyond 7
Assigned, UrgentPublic

Description

It appears SetNextChannel() increases values beyond 7 and thus StaticTransmitter.GetTunedFrequencyIndex() is returning values that do not match the frequency table. To workaround this GetTunedFrequencyIndex() % 8 provides the correct index at this time provided more channels are not added.

If this is intended, we need a method to obtain the number of available frequencies so we can accurately obtain the index.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10
Category
General
Steps To Reproduce

Rotate through all the channels on a radio a few times and call StaticTransmitter.GetTunedFrequencyIndex() The value will be the number of times you turned the dial, and not the frequency index.

Event Timeline

antihax created this task.Jul 22 2023, 4:55 PM
Geez changed the task status from New to Assigned.Jul 24 2023, 10:24 AM