aboutsummaryrefslogtreecommitdiff
path: root/nuttx-configs
diff options
context:
space:
mode:
authorDaniel Agar <daniel@agar.ca>2015-03-02 14:34:08 -0500
committerLorenz Meier <lm@inf.ethz.ch>2015-03-19 23:49:36 +0100
commitc147424fe735d92c5271ba3b5bc830bb33fb6097 (patch)
tree56bb281cb3c8b0c57afd9f7e0aaa9ac4317a5dad /nuttx-configs
parentb55fe24161ef60c7329494ab741263b9b01fe19c (diff)
downloadpx4-firmware-c147424fe735d92c5271ba3b5bc830bb33fb6097.tar.gz
px4-firmware-c147424fe735d92c5271ba3b5bc830bb33fb6097.tar.bz2
px4-firmware-c147424fe735d92c5271ba3b5bc830bb33fb6097.zip
nuttx-configs fix code style
Diffstat (limited to 'nuttx-configs')
-rw-r--r--nuttx-configs/aerocore/include/board.h4
-rw-r--r--nuttx-configs/aerocore/src/empty.c2
-rw-r--r--nuttx-configs/px4fmu-v1/include/board.h2
-rw-r--r--nuttx-configs/px4fmu-v1/src/empty.c2
-rwxr-xr-xnuttx-configs/px4fmu-v2/include/board.h14
-rw-r--r--nuttx-configs/px4fmu-v2/src/empty.c2
-rwxr-xr-xnuttx-configs/px4io-v1/include/board.h2
-rw-r--r--nuttx-configs/px4io-v1/src/empty.c2
-rwxr-xr-xnuttx-configs/px4io-v2/include/board.h2
-rw-r--r--nuttx-configs/px4io-v2/src/empty.c2
10 files changed, 17 insertions, 17 deletions
diff --git a/nuttx-configs/aerocore/include/board.h b/nuttx-configs/aerocore/include/board.h
index 8705c1bc2..6dc85735a 100644
--- a/nuttx-configs/aerocore/include/board.h
+++ b/nuttx-configs/aerocore/include/board.h
@@ -145,7 +145,7 @@
#define STM32_APB2_TIM11_CLKIN (2*STM32_PCLK2_FREQUENCY)
/* Timer Frequencies, if APBx is set to 1, frequency is same to APBx
- * otherwise frequency is 2xAPBx.
+ * otherwise frequency is 2xAPBx.
* Note: TIM1,8 are on APB2, others on APB1
*/
@@ -203,7 +203,7 @@
/*
* SPI
*/
-/* PA[4-7] SPI1 broken out on J12 */
+/* PA[4-7] SPI1 broken out on J12 */
#define GPIO_SPI1_NSS (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_2MHz|GPIO_OUTPUT_SET|GPIO_PORTA|GPIO_PIN4) /* should be GPIO_SPI1_NSS_2 but use as a GPIO */
#define GPIO_SPI1_SCK (GPIO_SPI1_SCK_1|GPIO_SPEED_50MHz)
#define GPIO_SPI1_MISO (GPIO_SPI1_MISO_1|GPIO_SPEED_50MHz)
diff --git a/nuttx-configs/aerocore/src/empty.c b/nuttx-configs/aerocore/src/empty.c
index ace900866..5de10699f 100644
--- a/nuttx-configs/aerocore/src/empty.c
+++ b/nuttx-configs/aerocore/src/empty.c
@@ -1,4 +1,4 @@
/*
- * There are no source files here, but libboard.a can't be empty, so
+ * There are no source files here, but libboard.a can't be empty, so
* we have this empty source file to keep it company.
*/
diff --git a/nuttx-configs/px4fmu-v1/include/board.h b/nuttx-configs/px4fmu-v1/include/board.h
index ff1c63424..9e6d50a8b 100644
--- a/nuttx-configs/px4fmu-v1/include/board.h
+++ b/nuttx-configs/px4fmu-v1/include/board.h
@@ -209,7 +209,7 @@
/* UART DMA configuration for USART1/6 */
#define DMAMAP_USART1_RX DMAMAP_USART1_RX_2
#define DMAMAP_USART6_RX DMAMAP_USART6_RX_2
-
+
/*
* CAN
*
diff --git a/nuttx-configs/px4fmu-v1/src/empty.c b/nuttx-configs/px4fmu-v1/src/empty.c
index ace900866..5de10699f 100644
--- a/nuttx-configs/px4fmu-v1/src/empty.c
+++ b/nuttx-configs/px4fmu-v1/src/empty.c
@@ -1,4 +1,4 @@
/*
- * There are no source files here, but libboard.a can't be empty, so
+ * There are no source files here, but libboard.a can't be empty, so
* we have this empty source file to keep it company.
*/
diff --git a/nuttx-configs/px4fmu-v2/include/board.h b/nuttx-configs/px4fmu-v2/include/board.h
index 3b3c6fa70..52668cacd 100755
--- a/nuttx-configs/px4fmu-v2/include/board.h
+++ b/nuttx-configs/px4fmu-v2/include/board.h
@@ -146,21 +146,21 @@
#define STM32_APB2_TIM11_CLKIN (2*STM32_PCLK2_FREQUENCY)
/* Timer Frequencies, if APBx is set to 1, frequency is same to APBx
- * otherwise frequency is 2xAPBx.
+ * otherwise frequency is 2xAPBx.
* Note: TIM1,8 are on APB2, others on APB1
*/
#define STM32_TIM18_FREQUENCY (2*STM32_PCLK2_FREQUENCY)
#define STM32_TIM27_FREQUENCY (2*STM32_PCLK1_FREQUENCY)
-/* SDIO dividers. Note that slower clocking is required when DMA is disabled
+/* SDIO dividers. Note that slower clocking is required when DMA is disabled
* in order to avoid RX overrun/TX underrun errors due to delayed responses
* to service FIFOs in interrupt driven mode. These values have not been
* tuned!!!
*
* HCLK=72MHz, SDIOCLK=72MHz, SDIO_CK=HCLK/(178+2)=400 KHz
*/
-
+
#define SDIO_INIT_CLKDIV (178 << SDIO_CLKCR_CLKDIV_SHIFT)
/* DMA ON: HCLK=72 MHz, SDIOCLK=72MHz, SDIO_CK=HCLK/(2+2)=18 MHz
@@ -168,9 +168,9 @@
*/
#ifdef CONFIG_SDIO_DMA
-# define SDIO_MMCXFR_CLKDIV (2 << SDIO_CLKCR_CLKDIV_SHIFT)
+# define SDIO_MMCXFR_CLKDIV (2 << SDIO_CLKCR_CLKDIV_SHIFT)
#else
-# define SDIO_MMCXFR_CLKDIV (3 << SDIO_CLKCR_CLKDIV_SHIFT)
+# define SDIO_MMCXFR_CLKDIV (3 << SDIO_CLKCR_CLKDIV_SHIFT)
#endif
/* DMA ON: HCLK=72 MHz, SDIOCLK=72MHz, SDIO_CK=HCLK/(1+2)=24 MHz
@@ -227,10 +227,10 @@
#define DMAMAP_USART1_RX DMAMAP_USART1_RX_2
#define DMAMAP_USART6_RX DMAMAP_USART6_RX_2
-/*
+/*
* CAN
*
- * CAN1 is routed to the onboard transceiver.
+ * CAN1 is routed to the onboard transceiver.
* CAN2 is routed to the expansion connector.
*/
#define GPIO_CAN1_RX GPIO_CAN1_RX_3
diff --git a/nuttx-configs/px4fmu-v2/src/empty.c b/nuttx-configs/px4fmu-v2/src/empty.c
index ace900866..5de10699f 100644
--- a/nuttx-configs/px4fmu-v2/src/empty.c
+++ b/nuttx-configs/px4fmu-v2/src/empty.c
@@ -1,4 +1,4 @@
/*
- * There are no source files here, but libboard.a can't be empty, so
+ * There are no source files here, but libboard.a can't be empty, so
* we have this empty source file to keep it company.
*/
diff --git a/nuttx-configs/px4io-v1/include/board.h b/nuttx-configs/px4io-v1/include/board.h
index 815079266..ee8a9d1ba 100755
--- a/nuttx-configs/px4io-v1/include/board.h
+++ b/nuttx-configs/px4io-v1/include/board.h
@@ -143,7 +143,7 @@ extern "C" {
************************************************************************************/
EXTERN void stm32_boardinitialize(void);
-
+
#if defined(__cplusplus)
}
#endif
diff --git a/nuttx-configs/px4io-v1/src/empty.c b/nuttx-configs/px4io-v1/src/empty.c
index ace900866..5de10699f 100644
--- a/nuttx-configs/px4io-v1/src/empty.c
+++ b/nuttx-configs/px4io-v1/src/empty.c
@@ -1,4 +1,4 @@
/*
- * There are no source files here, but libboard.a can't be empty, so
+ * There are no source files here, but libboard.a can't be empty, so
* we have this empty source file to keep it company.
*/
diff --git a/nuttx-configs/px4io-v2/include/board.h b/nuttx-configs/px4io-v2/include/board.h
index 17e77918b..b70056f82 100755
--- a/nuttx-configs/px4io-v2/include/board.h
+++ b/nuttx-configs/px4io-v2/include/board.h
@@ -138,7 +138,7 @@ extern "C" {
************************************************************************************/
EXTERN void stm32_boardinitialize(void);
-
+
#if defined(__cplusplus)
}
#endif
diff --git a/nuttx-configs/px4io-v2/src/empty.c b/nuttx-configs/px4io-v2/src/empty.c
index ace900866..5de10699f 100644
--- a/nuttx-configs/px4io-v2/src/empty.c
+++ b/nuttx-configs/px4io-v2/src/empty.c
@@ -1,4 +1,4 @@
/*
- * There are no source files here, but libboard.a can't be empty, so
+ * There are no source files here, but libboard.a can't be empty, so
* we have this empty source file to keep it company.
*/