From 21383908a469253725a5da767b5d341f13e57da5 Mon Sep 17 00:00:00 2001 From: paul Jewell Date: Sat, 1 Oct 2016 09:08:07 +0200 Subject: [PATCH] LP-424 Corrected copy error - s.,$:rfm22b_id/openlrs_id/g --- flight/pios/common/pios_openlrs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flight/pios/common/pios_openlrs.c b/flight/pios/common/pios_openlrs.c index 43998ef80..bab86b19e 100644 --- a/flight/pios/common/pios_openlrs.c +++ b/flight/pios/common/pios_openlrs.c @@ -1130,9 +1130,9 @@ static void pios_openlrs_task(void *parameters); static struct pios_openlrs_dev *g_openlrs_dev; /** - * Initialise an RFM22B device + * Initialise an OPENLRS device * - * @param[out] rfm22b_id A pointer to store the device ID in. + * @param[out] openlrs_id A pointer to store the device ID in. * @param[in] spi_id The SPI bus index. * @param[in] slave_num The SPI bus slave number. * @param[in] cfg The device configuration. @@ -1141,7 +1141,7 @@ int32_t PIOS_OpenLRS_Init(uint32_t *openlrs_id, uint32_t spi_id, uint32_t slave_num, const struct pios_openlrs_cfg *cfg) { - PIOS_DEBUG_Assert(rfm22b_id); + PIOS_DEBUG_Assert(openlrs_id); PIOS_DEBUG_Assert(cfg); // Allocate the device structure.