Fixed wrong mic gain value in MD3x0 radio driver
This commit is contained in:
parent
1fbecb4c22
commit
fdd50c114c
|
|
@ -191,7 +191,7 @@ void radio_setOpmode(const enum opmode mode)
|
||||||
gpio_clearPin(DMR_SW); // Disconnect analog paths for DMR
|
gpio_clearPin(DMR_SW); // Disconnect analog paths for DMR
|
||||||
gpio_setPin(FM_SW); // Enable analog RX stage after superhet
|
gpio_setPin(FM_SW); // Enable analog RX stage after superhet
|
||||||
C5000.fmMode(); // HR_C5000 in FM mode
|
C5000.fmMode(); // HR_C5000 in FM mode
|
||||||
C5000.setInputGain(0xC8); // Input gain, as per TYT firmware
|
C5000.setInputGain(0x19); // Input gain, as per TYT firmware
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DMR:
|
case DMR:
|
||||||
|
|
@ -204,7 +204,7 @@ void radio_setOpmode(const enum opmode mode)
|
||||||
gpio_clearPin(DMR_SW); // Disconnect analog paths for DMR
|
gpio_clearPin(DMR_SW); // Disconnect analog paths for DMR
|
||||||
gpio_setPin(FM_SW); // Enable analog RX stage after superhet
|
gpio_setPin(FM_SW); // Enable analog RX stage after superhet
|
||||||
C5000.fmMode(); // HR_C5000 in FM mode
|
C5000.fmMode(); // HR_C5000 in FM mode
|
||||||
C5000.setInputGain(0xA0); // Input gain, found experimentally
|
C5000.setInputGain(0x14); // Input gain, found experimentally
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue