Fixed wrong mic gain value in MD3x0 radio driver

This commit is contained in:
Silvano Seva 2021-06-09 11:48:08 +02:00
parent 1fbecb4c22
commit fdd50c114c
1 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ void radio_setOpmode(const enum opmode mode)
gpio_clearPin(DMR_SW); // Disconnect analog paths for DMR
gpio_setPin(FM_SW); // Enable analog RX stage after superhet
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;
case DMR:
@ -204,7 +204,7 @@ void radio_setOpmode(const enum opmode mode)
gpio_clearPin(DMR_SW); // Disconnect analog paths for DMR
gpio_setPin(FM_SW); // Enable analog RX stage after superhet
C5000.fmMode(); // HR_C5000 in FM mode
C5000.setInputGain(0xA0); // Input gain, found experimentally
C5000.setInputGain(0x14); // Input gain, found experimentally
break;
default: