Add new coding style rules and fix appeared issues.

JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
This commit is contained in:
Andrey Shitov
2015-05-12 19:17:07 +03:00
parent ca12c16607
commit 9763a93df3
89 changed files with 1152 additions and 626 deletions
+3 -3
View File
@@ -72,7 +72,7 @@ led_blink_once (uint32_t led_id) /**< index of LED */
/**
* LEDs' GPIO pins
*/
static const uint16_t led_pins [LED_NUMBER] =
static const uint16_t led_pins[LED_NUMBER] =
{
GPIO_Pin_12, /* LD4: Green */
GPIO_Pin_13, /* LD3: Orange */
@@ -130,7 +130,7 @@ initialize_leds (void)
/**
* LEDs' GPIO pins
*/
static const uint16_t led_pins [LED_NUMBER] =
static const uint16_t led_pins[LED_NUMBER] =
{
GPIO_Pin_15, /* LD6 - Green */
GPIO_Pin_14, /* LD8 - Orange */
@@ -189,7 +189,7 @@ led_toggle (uint32_t led_id) /**< index of LED */
{
if (led_id < LED_NUMBER)
{
leds_port->ODR ^= led_pins [led_id];
leds_port->ODR ^= led_pins[led_id];
}
} /* led_toggle */