mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-09-27 02:57:54 +00:00
Merge pull request #19 from Dom4n/feat/lr1110_dcdc-enable
Enable DC/DC in shared LR1110 initialization
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user