mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-02 14:46:16 -04:00
T3S3 SX1280 support
This commit is contained in:
parent
315bcb02a0
commit
6bf06ca94e
3 changed files with 25 additions and 8 deletions
|
@ -769,6 +769,12 @@ void serialCallback(uint8_t sbyte) {
|
|||
int txp = sbyte;
|
||||
#if MODEM == SX1262
|
||||
if (txp > 22) txp = 22;
|
||||
#elif MODEM == SX1280
|
||||
#if HAS_PA
|
||||
if (txp > 20) txp = 20;
|
||||
#else
|
||||
if (txp > 13) txp = 13;
|
||||
#endif
|
||||
#else
|
||||
if (txp > 17) txp = 17;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue