mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Refine the preprocessor conditional guard style (#190)
This commit is contained in:
@@ -232,4 +232,4 @@
|
||||
# define GPIO_UART0_RXD (GPIO_PERIPHA | GPIO_CFG_DEFAULT | GPIO_PORT_PIOA | \
|
||||
GPIO_PIN8 | GPIO_CFG_PULLUP)
|
||||
#endif
|
||||
#endif /* __BOARDS_ARM_SAM34_ARDUINO_DUE_INCLUDE_BOARD_H */
|
||||
#endif /* __BOARDS_ARM_SAM34_ARDUINO_DUE_INCLUDE_BOARD_H */
|
||||
|
||||
@@ -336,4 +336,4 @@
|
||||
* There are no alternative pin selections for TWI0 and TWI1.
|
||||
*/
|
||||
|
||||
#endif /* __BOARDS_ARM_SAM34_FLIPNCLICK_SAM3X_INCLUDE_BOARD_H */
|
||||
#endif /* __BOARDS_ARM_SAM34_FLIPNCLICK_SAM3X_INCLUDE_BOARD_H */
|
||||
|
||||
@@ -157,4 +157,4 @@
|
||||
#define BUTTON1 1 /* Bit 0: Button 1 */
|
||||
#define BUTTON2 2 /* Bit 1: Button 2 */
|
||||
|
||||
#endif /* __BOARDS_ARM_SAM34_SAM3U_EK_INCLUDE_BOARD_H */
|
||||
#endif /* __BOARDS_ARM_SAM34_SAM3U_EK_INCLUDE_BOARD_H */
|
||||
|
||||
@@ -326,4 +326,4 @@ void sam_lcdclear(uint32_t color);
|
||||
#endif
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
#endif /* __BOARDS_ARM_SAM34_SAM4E_EK_INCLUDE_BOARD_H */
|
||||
#endif /* __BOARDS_ARM_SAM34_SAM4E_EK_INCLUDE_BOARD_H */
|
||||
|
||||
@@ -293,4 +293,4 @@
|
||||
#define GPIO_SPI0_MOSI GPIO_SPI0_MOSI_1
|
||||
#define GPIO_SPI0_SPCK GPIO_SPI0_SPCK_4
|
||||
|
||||
#endif /* __BOARDS_ARM_SAM34_SAM4L_XPLAINED_INCLUDE_BOARD_H */
|
||||
#endif /* __BOARDS_ARM_SAM34_SAM4L_XPLAINED_INCLUDE_BOARD_H */
|
||||
|
||||
@@ -261,4 +261,4 @@
|
||||
|
||||
#define BUTTON_SW0_BIT (1 << BUTTON_SW0)
|
||||
|
||||
#endif /* __BOARDS_ARM_SAM34_SAM4S_XPLAINED_PRO_INCLUDE_BOARD_H */
|
||||
#endif /* __BOARDS_ARM_SAM34_SAM4S_XPLAINED_PRO_INCLUDE_BOARD_H */
|
||||
|
||||
@@ -217,4 +217,4 @@
|
||||
|
||||
#define BUTTON_BP2_BIT (1 << BUTTON_BP2)
|
||||
|
||||
#endif /* __BOARDS_ARM_SAM34_SAM4S_XPLAINED_INCLUDE_BOARD_H */
|
||||
#endif /* __BOARDS_ARM_SAM34_SAM4S_XPLAINED_INCLUDE_BOARD_H */
|
||||
|
||||
Reference in New Issue
Block a user