mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-16 08:29:15 +01:00
OP-1510 don't hard code tx_power to 100mW
This commit is contained in:
parent
e9799e6c2e
commit
1c6e9b3cc4
@ -797,7 +797,6 @@ bool PIOS_RFM22B_TransmitPacket(uint32_t rfm22b_id, uint8_t *p, uint8_t len)
|
|||||||
rfm22_write(rfm22b_dev, RFM22_interrupt_enable2, 0x00);
|
rfm22_write(rfm22b_dev, RFM22_interrupt_enable2, 0x00);
|
||||||
|
|
||||||
// set the tx power
|
// set the tx power
|
||||||
rfm22b_dev->tx_power = 0x7;
|
|
||||||
rfm22_write(rfm22b_dev, RFM22_tx_power, RFM22_tx_pwr_lna_sw | rfm22b_dev->tx_power);
|
rfm22_write(rfm22b_dev, RFM22_tx_power, RFM22_tx_pwr_lna_sw | rfm22b_dev->tx_power);
|
||||||
|
|
||||||
// TUNE mode
|
// TUNE mode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user