mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 22:31:25 +03:00
restored AM fix RSSI compensation
This commit is contained in:
parent
fb2891f11e
commit
626c0030a8
4
am_fix.c
4
am_fix.c
@ -28,7 +28,7 @@
|
|||||||
#include "functions.h"
|
#include "functions.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
//#define SET_RSSI_COMP
|
#define SET_RSSI_COMP
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
@ -107,7 +107,7 @@ static const t_gain_table gain_table[] =
|
|||||||
{0x035E, -17} // 4 .. 3 2 3 6 .. 0dB -14dB 0dB -3dB .. -17dB original
|
{0x035E, -17} // 4 .. 3 2 3 6 .. 0dB -14dB 0dB -3dB .. -17dB original
|
||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned int original_index = 1;
|
static const unsigned int original_index = 3;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
{0x0000, -98}, // 1 .. 0 0 0 0 .. -33dB -24dB -8dB -33dB .. -98dB
|
{0x0000, -98}, // 1 .. 0 0 0 0 .. -33dB -24dB -8dB -33dB .. -98dB
|
||||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user