Porównaj commity

...

3 Commity

Autor SHA1 Wiadomość Data
Crsarmv7l 7f49e69959
Re add 2024-03-28 13:29:38 -04:00
Crsarmv7l fb35416b34
Fix () 2024-03-28 13:19:18 -04:00
Crsarmv7l 310dfc9242
Revert to hopefully bring in current 2024-03-28 13:14:17 -04:00
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -438,3 +438,4 @@ RADIOLIB_ERR_A_FCNT_DOWN_INVALID LITERAL1
RADIOLIB_ERR_DATA_RATE_INVALID LITERAL1
RADIOLIB_ERR_DWELL_TIME_EXCEEDED LITERAL1
RADIOLIB_ERR_CHECKSUM_MISMATCH LITERAL1
RADIOLIB_LORAWAN_NO_DOWNLINK LITERAL1

Wyświetl plik

@ -492,9 +492,9 @@ int16_t CC1101::setRxBandwidth(float rxBw) {
int16_t CC1101::autoSetRxBandwidth() {
// Uncertainty ~ +/- 40ppm for a cheap CC1101
// Uncertainty * 2 for both transmitter and receiver
float uncertainty = (this->frequency) * 40 * 2);
float uncertainty = ((this->frequency) * 40 * 2);
uncertainty = (uncertainty/1000); //Since bitrate is in kBit
float minbw = (this->bitRate) + uncertainty);
float minbw = ((this->bitRate) + uncertainty);
int possibles[16] = {58, 68, 81, 102, 116, 135, 162, 203, 232, 270, 325, 406, 464, 541, 650, 812};