Add Clang-Format file and apply it
The format tries to maintain the previously used Libre Solar firmware coding style as much as possible. Applying the format fixed some issues and re-ordered some parts of the code.
This commit is contained in:
committed by
Martin Jäger
parent
2359a96bbe
commit
5bdbecf19d
+4
-4
@@ -4,11 +4,11 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "unity.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <device.h>
|
||||
#include <zephyr.h>
|
||||
|
||||
#ifdef CONFIG_ARCH_POSIX
|
||||
#include "posix_board_if.h"
|
||||
@@ -18,8 +18,8 @@
|
||||
|
||||
extern "C" {
|
||||
|
||||
void setUp (void) {}
|
||||
void tearDown (void) {}
|
||||
void setUp(void) {}
|
||||
void tearDown(void) {}
|
||||
|
||||
} /* extern "C" */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user