Turn on register 0x8B5 LSB for improved RX, turn off boosted gain

This commit is contained in:
Socalix 2026-01-14 17:52:15 -06:00
parent 56eb5b0499
commit 4575800e40
2 changed files with 14 additions and 5 deletions

View file

@ -76,6 +76,14 @@ class CustomSX1262 : public SX1262 {
setRfSwitchPins(SX126X_RXEN, SX126X_TXEN);
#endif
// for improved RX with Heltec v4
#ifdef SX126X_REGISTER_PATCH
uint8_t r_data = 0;
readRegister(0x8B5, &r_data, 1);
r_data |= 0x01;
writeRegister(0x8B5, &r_data, 1);
#endif
return true; // success
}