From 44a0266e41af53fb62c819840f162111fc92b627 Mon Sep 17 00:00:00 2001 From: Brian Webb Date: Tue, 18 Jun 2013 06:54:04 -0700 Subject: [PATCH] OP-932 Adds claiming of the SPI bus in the OPLink channel change function. --- flight/pios/common/pios_rfm22b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/pios/common/pios_rfm22b.c b/flight/pios/common/pios_rfm22b.c index a8e80d547..466589b03 100644 --- a/flight/pios/common/pios_rfm22b.c +++ b/flight/pios/common/pios_rfm22b.c @@ -1584,7 +1584,7 @@ static bool rfm22_setFreqHopChannel(struct pios_rfm22b_dev *rfm22b_dev, uint8_t D3_LED_TOGGLE; #endif // PIOS_RFM22B_DEBUG_ON_TELEM rfm22b_dev->channel = channel; - rfm22_write(rfm22b_dev, RFM22_frequency_hopping_channel_select, channel); + rfm22_write_claim(rfm22b_dev, RFM22_frequency_hopping_channel_select, channel); return true; }