fix: TCXO_OPTIONAL featuring SenseCAP Indicator (V1/V2) (#5948)

* fix TCXO_OPTIONAL

* fix LOG_WARN

* fix lora.begin() returns -707

* trunk fmt
This commit is contained in:
Manuel
2025-01-27 14:00:12 -06:00
committed by GitHub
co-authored by GitHub
parent 4747e73f37
commit 2d42e1b2bc
5 changed files with 28 additions and 34 deletions
+3
View File
@@ -28,8 +28,11 @@ template <class T> class SX126xInterface : public RadioLibInterface
bool isIRQPending() override { return lora.getIrqFlags() != 0; }
void setTCXOVoltage(float voltage) { tcxoVoltage = voltage; }
protected:
float currentLimit = 140; // Higher OCP limit for SX126x PA
float tcxoVoltage = 0.0;
/**
* Specific module instance