0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 22:58:04 +03:00
This commit is contained in:
OneOfEleven
2023-09-24 00:06:10 +01:00
parent 8ae0b2cc67
commit 8b44428ea5
8 changed files with 114 additions and 126 deletions

View File

@ -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)