mirror of
https://github.com/meshtastic/firmware.git
synced 2026-09-21 05:45:27 -04:00
Merge branch 'develop' into soil-water-metrics
This commit is contained in:
1 file changed
+5
-1
@@ -569,6 +569,10 @@ template <typename T> void SX126xInterface<T>::resetAGC()
|
||||
// 5. Re-calibrate image rejection for actual operating frequency
|
||||
// Calibrate(0x7F) defaults to 902-928 MHz which is wrong for other regions.
|
||||
lora.calibrateImage(getFreq());
|
||||
// 6. CalibrateImage keeps working internally after it returns, and BUSY does not
|
||||
// stay asserted for it; a register write in that window fails write-verify
|
||||
// (RADIOLIB_ERR_SPI_WRITE_FAILED) and stalls the chip.
|
||||
module.hal->delay(50);
|
||||
|
||||
// Re-apply settings that calibration may have reset
|
||||
|
||||
@@ -592,7 +596,7 @@ template <typename T> void SX126xInterface<T>::resetAGC()
|
||||
LOG_WARN("SX126x resetAGC: 0x8B5 RX patch re-apply failed");
|
||||
}
|
||||
|
||||
// 6. Resume receiving
|
||||
// 7. Resume receiving
|
||||
startReceive();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user