From 08d1e8de91dc2bfb2ada5cb07ff9e0500c0e75ea Mon Sep 17 00:00:00 2001
From: Hauke Petersen <hauke.petersen@fu-berlin.de>
Date: Wed, 24 Feb 2016 15:59:14 +0100
Subject: [PATCH] boards/msb-430(h): style fixed in board.h

fixed indention and parens for LED defines
---
 boards/msb-430/include/board.h  | 22 +++++++++++-----------
 boards/msb-430h/include/board.h | 22 +++++++++++-----------
 2 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/boards/msb-430/include/board.h b/boards/msb-430/include/board.h
index 36eca6aa57..070acfe6d9 100644
--- a/boards/msb-430/include/board.h
+++ b/boards/msb-430/include/board.h
@@ -59,18 +59,18 @@ extern "C" {
  * @brief   LED definitions
  * @{
  */
-#define LEDS_PxDIR P5DIR
-#define LEDS_PxOUT P5OUT
-#define LEDS_CONF_RED       0x80
-#define LEDS_CONF_GREEN     0x00
-#define LEDS_CONF_YELLOW    0x00
+#define LEDS_PxDIR                  (P5DIR)
+#define LEDS_PxOUT                  (P5OUT)
+#define LEDS_CONF_RED               (0x80)
+#define LEDS_CONF_GREEN             (0x00)
+#define LEDS_CONF_YELLOW            (0x00)
 
-#define LED_RED_ON          LEDS_PxOUT &=~LEDS_CONF_RED
-#define LED_RED_OFF         LEDS_PxOUT |= LEDS_CONF_RED
-#define LED_RED_TOGGLE      LEDS_PxOUT ^= LEDS_CONF_RED
-#define LED_GREEN_ON        /* not present */
-#define LED_GREEN_OFF       /* not present */
-#define LED_GREEN_TOGGLE    /* not present */
+#define LED_RED_ON                  (LEDS_PxOUT &=~LEDS_CONF_RED)
+#define LED_RED_OFF                 (LEDS_PxOUT |= LEDS_CONF_RED)
+#define LED_RED_TOGGLE              (LEDS_PxOUT ^= LEDS_CONF_RED)
+#define LED_GREEN_ON                /* not present */
+#define LED_GREEN_OFF               /* not present */
+#define LED_GREEN_TOGGLE            /* not present */
 /** @} */
 
 #ifdef __cplusplus
diff --git a/boards/msb-430h/include/board.h b/boards/msb-430h/include/board.h
index 68badc21c7..18ff7dd3ee 100644
--- a/boards/msb-430h/include/board.h
+++ b/boards/msb-430h/include/board.h
@@ -53,18 +53,18 @@ extern "C" {
  * @brief   LED definitions
  * @{
  */
-#define LEDS_PxDIR P5DIR
-#define LEDS_PxOUT P5OUT
-#define LEDS_CONF_RED       0x80
-#define LEDS_CONF_GREEN     0x00
-#define LEDS_CONF_YELLOW    0x00
+#define LEDS_PxDIR                  (P5DIR)
+#define LEDS_PxOUT                  (P5OUT)
+#define LEDS_CONF_RED               (0x80)
+#define LEDS_CONF_GREEN             (0x00)
+#define LEDS_CONF_YELLOW            (0x00)
 
-#define LED_RED_ON          LEDS_PxOUT &=~LEDS_CONF_RED
-#define LED_RED_OFF         LEDS_PxOUT |= LEDS_CONF_RED
-#define LED_RED_TOGGLE      LEDS_PxOUT ^= LEDS_CONF_RED
-#define LED_GREEN_ON        /* not present */
-#define LED_GREEN_OFF       /* not present */
-#define LED_GREEN_TOGGLE    /* not present */
+#define LED_RED_ON                  (LEDS_PxOUT &=~LEDS_CONF_RED)
+#define LED_RED_OFF                 (LEDS_PxOUT |= LEDS_CONF_RED)
+#define LED_RED_TOGGLE              (LEDS_PxOUT ^= LEDS_CONF_RED)
+#define LED_GREEN_ON                /* not present */
+#define LED_GREEN_OFF               /* not present */
+#define LED_GREEN_TOGGLE            /* not present */
 /** @} */
 
 #ifdef __cplusplus
-- 
GitLab