Merge pull request #1398 from Socalix/heltecv4-register1

Improve Heltec v4 RX reception with undocumented register patch
This commit is contained in:
ripplebiz
2026-02-05 19:14:18 +11:00
committed by GitHub
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
}