mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-05-06 08:34:58 -04:00
Board defines for T3S3-SX1280
This commit is contained in:
parent
6c82de161c
commit
9174dbd34a
3 changed files with 19 additions and 0 deletions
|
@ -683,11 +683,15 @@ void sx128x::disableTCXO() {
|
|||
}
|
||||
|
||||
void sx128x::setTxPower(int level, int outputPin) {
|
||||
#if HAS_PA == true
|
||||
if (level > pa_max_input) { level = pa_max_input; }
|
||||
#else
|
||||
if (level > 13) {
|
||||
level = 13;
|
||||
} else if (level < -18) {
|
||||
level = -18;
|
||||
}
|
||||
#endif
|
||||
|
||||
_txp = level;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue