fix(station-g3): expose FEM gain preferences

This commit is contained in:
agessaman committed 2026-08-06 15:29:14 -07:00
1 parent 27f58e075e
commit 2eb7feffe0
12 files changed
+198 -44

No files matched your search

@@ -0,0 +1,20 @@
#pragma once
class LoRaFEMControl {
public:
void init();
void setSleepModeEnable();
void setTxModeEnable();
void setRxModeEnable();
void setLNAEnable(bool enabled);
void setPAGainEnable(bool enabled);
bool canControlLNA() const;
bool canControlPAGain() const;
bool isLNAEnabled() const { return lna_enabled; }
bool isPAGainEnabled() const { return pa_gain_enabled; }
private:
bool lna_enabled = true;
bool pa_gain_enabled = false;
};