AllStarLink / app_rpt

Refactoring and upgrade of AllStarLink's app_rpt, etc.
5 stars 4 forks source link

chan_simpleusb, chan_usbradio, res_usbradio: Changes for the CM119B #234

Closed KB4MDD closed 10 months ago

KB4MDD commented 10 months ago

These changes address issues with audio scaling with the CM119B chip.

Each function that required changes was documented and coding standards reviewed.

I was able to removed some fields from the private structure that were not being used by the drivers.

Some variables were renamed to better describe their function.

For the functions reviewed, I attempted to make both drivers function the same and/or moved the code slightly to make them the same when diff'd.

chan_simpleusb's 'susb tune txb' command responded with a message about 'txa' instead of 'txb'. This fixes the message. It was updating the correct internal value.

I removed some commented-out logging statements.

This closes #227.