0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 14:48:03 +03:00

6th AM test

This commit is contained in:
OneOfEleven
2023-09-22 07:04:56 +01:00
parent d968e3d164
commit 1c5b2975db
5 changed files with 19 additions and 19 deletions

View File

@ -1413,8 +1413,8 @@ void APP_CheckKeys(void)
register uint16_t new_mixer = mixer;
register uint16_t new_pga = pga;
// -84dBm, any higher and the AM demodulator starts to saturate/clip (distort)
const uint16_t desired_rssi = (-84 + 160) * 2; // dBm to ADC sample
// -87dBm, any higher and the AM demodulator starts to saturate/clip (distort)
const uint16_t desired_rssi = (-87 + 160) * 2; // dBm to ADC sample
// sample the current RSSI level
uint16_t rssi = BK4819_GetRSSI(); // 9-bit value (0 .. 511)