Closed ethomas997 closed 6 years ago
I did some testing on this PR with LiveTime; results look good. In LiveTime the nodes are setup using frequency-in-MHz values, so I think modification is a good match for that.
Just tested and merged. Nice job. This makes it much easier.
The 'delta5node' code WRITE_FREQUENCY command accepts a frequency-in-MHz value, so this adds the 'freqMhzToRegVal()' function to convert it directly to a register value for the module (instead of only supporting the frequency values in the table).
I've tested this mod in a Delta5 unit, and I've successfully used this 'freqMhzToRegVal()' function in my ArduVidRx and 'rx5808_etheli_diversity' projects.
--ET