mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-07-10 16:39:24 -04:00
Attempt to fix incorrect TX power being returned (SX127X)
This commit is contained in:
parent
2cdf2951e6
commit
7ab3825aaa
1 changed files with 1 additions and 1 deletions
|
@ -1376,7 +1376,7 @@ void sx127x::setTxPower(int level, int outputPin) {
|
|||
}
|
||||
}
|
||||
|
||||
uint8_t sx127x::getTxPower() { byte txp = readRegister(REG_PA_CONFIG_7X); return txp; }
|
||||
uint8_t sx127x::getTxPower() { uint8_t txp = readRegister(REG_PA_CONFIG_7X); return (txp & 0xF0); }
|
||||
|
||||
void sx127x::setFrequency(uint32_t frequency) {
|
||||
_frequency = frequency;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue