mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2024-10-01 03:15:40 -04:00
Attempt to fix incorrect TX power being returned (SX127X)
This commit is contained in:
parent
2cdf2951e6
commit
7ab3825aaa
@ -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…
Reference in New Issue
Block a user