olliw42 / mLRS

2.4 GHz & 915/868 MHz & 433 MHz/70 cm LoRa based telemetry and radio link for remote controlled vehicles
GNU General Public License v3.0
279 stars 58 forks source link

SX127x_power_fix #140

Closed jlpoltrack closed 8 months ago

jlpoltrack commented 8 months ago

Related to: https://github.com/olliw42/mLRS/issues/139 Tested on R9 MX, Lua now reports expected value.

Previously, one would get a 'free' 4 dBm on power levels < 15 dBm.

olliw42 commented 8 months ago

fantastic did you also had a chance to test using a power meter? one should get more power now, right?

jlpoltrack commented 8 months ago

Looks close enough for me.

image

I actually don't think there was less power before in fact I think there was more (and additionally the Lua did report the wrong value).

When asking for 17 one would also get 17 dBm but the Lua would report 13.