Merge pull request #19 from Dom4n/feat/lr1110_dcdc-enable

Enable DC/DC in shared LR1110 initialization
This commit is contained in:
IoTThinks authored and GitHub committed 2026-09-19 07:54:11 +07:00
commit 3c0089e8cb
1 file changed
+2
+2
View File
@@ -21,6 +21,8 @@ class CustomLR1110 : public LR1110 {
int16_t state = LR1110::begin(freq, bw, sf, cr, syncWord, power, preambleLength,
tcxoVoltage);
if (state == RADIOLIB_ERR_NONE) applyMeshCoreTcxoDelay();
// RadioLib begin() defaults to LDO; use the LR1110 DC/DC regulator.
if (state == RADIOLIB_ERR_NONE) state = setRegulatorDCDC();
return state;
}