1
Vote

Bug Fix #2 - PowerCFG register incorrectly set in method WriteFMInfo()

description

In method WriteFMInfo(this USBRadioDevice device) there is a small typo that causes the PowerCFG register to be incorrectly set:
 
case Native.DATA_MONOSTEREO_STEREO: device.Registers[Native.POWERCFG] &= (ushort)(device.Registers[Native.POWERCFG] & ~Native.POWERCFG_MONO); break;
 
should be changed to:
 
case Native.DATA_MONOSTEREO_STEREO: device.Registers[Native.POWERCFG] = (ushort)(device.Registers[Native.POWERCFG] & ~Native.POWERCFG_MONO); break;
 
Andy

comments