From 1c6e9b3cc40c4b450dde092615b195998882e0c9 Mon Sep 17 00:00:00 2001 From: Karl Knutsson Date: Fri, 26 Sep 2014 20:56:17 +0200 Subject: [PATCH] OP-1510 don't hard code tx_power to 100mW --- flight/pios/common/pios_rfm22b.c | 1 - 1 file changed, 1 deletion(-) diff --git a/flight/pios/common/pios_rfm22b.c b/flight/pios/common/pios_rfm22b.c index 2c2269d62..eb2f2bb8b 100644 --- a/flight/pios/common/pios_rfm22b.c +++ b/flight/pios/common/pios_rfm22b.c @@ -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); // 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); // TUNE mode