Fix Notes

This commit is contained in:
Crsarmv7l 2024-03-27 08:26:54 -04:00 committed by GitHub
parent 9e079c85c0
commit 00a22fc38c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -503,7 +503,7 @@ int16_t CC1101::CalcRxBandwidth() {
// Uncertainty ~ +/- 40ppm for a cheap CC1101
// Uncertainty * 2 for both transmitter and receiver
float uncertainty = (getFrequency() * 40 * 2);
uncertainty = (uncertainty/1000); //Since bitrate is in khz
uncertainty = (uncertainty/1000); //Since bitrate is in kBit
float minbw = (getBitRate() + uncertainty);
int possibles[16] = {58, 68, 81, 102, 116, 135, 162, 203, 232, 270, 325, 406, 464, 541, 650, 812};