1
Vote

Bug Fix #1 - Radio does not start after power down. Mute Method buggy.

description

In USBDeviceMethods.cs - the method Mute(this USBRadioDevice device, bool mute) incorrectly writes to the PowerCfg register.
 
Change:
 
device.IsMuted = mute & device.WriteRegisters(ReportType.PowerCfg);
 
to:
 
device.IsMuted = mute;
device.WriteRegisters(ReportType.PowerCfg, device.Registers[Native.POWERCFG]);
 
And it will work!
 
Andy

comments