mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Update Heltec Tracker v2 to version KCT8103L.
This commit is contained in:
parent
14db7d43cc
commit
cdca79540f
6 changed files with 107 additions and 28 deletions
21
variants/heltec_tracker_v2/LoRaFEMControl.h
Normal file
21
variants/heltec_tracker_v2/LoRaFEMControl.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
class LoRaFEMControl
|
||||
{
|
||||
public:
|
||||
LoRaFEMControl() {}
|
||||
virtual ~LoRaFEMControl() {}
|
||||
void init(void);
|
||||
void setSleepModeEnable(void);
|
||||
void setTxModeEnable(void);
|
||||
void setRxModeEnable(void);
|
||||
void setRxModeEnableWhenMCUSleep(void);
|
||||
void setLNAEnable(bool enabled);
|
||||
bool isLnaCanControl(void) { return lna_can_control; }
|
||||
void setLnaCanControl(bool can_control) { lna_can_control = can_control; }
|
||||
|
||||
private:
|
||||
bool lna_enabled = false;
|
||||
bool lna_can_control = false;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue