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:
Martin Jäger
2022-01-26 13:56:31 +01:00
committed by Martin Jäger
parent 2359a96bbe
commit 5bdbecf19d
45 changed files with 1036 additions and 986 deletions
+4 -4
View File
@@ -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" */