From 006fdf9072cb8ab336b95751e3f00180f922944f Mon Sep 17 00:00:00 2001 From: Alessio Morale Date: Sun, 22 Mar 2015 20:26:36 +0100 Subject: [PATCH] Uncrustify --- flight/pios/common/pios_rfm22b.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flight/pios/common/pios_rfm22b.c b/flight/pios/common/pios_rfm22b.c index 6d92fd4e1..35fe19ce1 100644 --- a/flight/pios/common/pios_rfm22b.c +++ b/flight/pios/common/pios_rfm22b.c @@ -1376,7 +1376,7 @@ static enum pios_radio_event rfm22_init(struct pios_rfm22b_dev *rfm22b_dev) } // Wait 1ms if not. - vTaskDelay(1 + (1/(portTICK_RATE_MS+1))); + vTaskDelay(1 + (1 / (portTICK_RATE_MS + 1))); } // **************** @@ -1485,7 +1485,7 @@ static enum pios_radio_event rfm22_init(struct pios_rfm22b_dev *rfm22b_dev) rfm22_releaseBus(rfm22b_dev); // Yield the CPU. - vTaskDelay(1 + (1/(portTICK_RATE_MS+1))); + vTaskDelay(1 + (1 / (portTICK_RATE_MS + 1))); // Claim the SPI bus. rfm22_claimBus(rfm22b_dev); @@ -1540,7 +1540,7 @@ static enum pios_radio_event rfm22_init(struct pios_rfm22b_dev *rfm22b_dev) rfm22_releaseBus(rfm22b_dev); // Yield the CPU. - vTaskDelay(1 + (1/(portTICK_RATE_MS+1))); + vTaskDelay(1 + (1 / (portTICK_RATE_MS + 1))); // Initialize the frequency and datarate to te default. rfm22_setNominalCarrierFrequency(rfm22b_dev, 0);