mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 22:58:04 +03:00
Stuff
This commit is contained in:
4
am_fix.c
4
am_fix.c
@ -332,8 +332,8 @@ const uint8_t orig_pga = 6; // -3dB
|
||||
}
|
||||
|
||||
#ifndef ENABLE_AM_FIX_TEST1
|
||||
// -87dBm, any higher and the AM demodulator starts to saturate/clip (distort)
|
||||
const uint16_t desired_rssi = (-87 + 160) * 2; // dBm to ADC sample
|
||||
// -89dBm, any higher and the AM demodulator starts to saturate/clip (distort)
|
||||
const uint16_t desired_rssi = (-89 + 160) * 2; // dBm to ADC sample
|
||||
#endif
|
||||
// sample the current RSSI level
|
||||
uint16_t rssi = BK4819_GetRSSI(); // 9-bit value (0 .. 511)
|
||||
|
Reference in New Issue
Block a user