Coding style updated/fixed

Indentations of class definitions and preprocessor statements were not
uniform throughout the code. This commit cleans up indentations as well
as the order of include statements.

Style conventions see: https://github.com/LibreSolar/coding-style
This commit is contained in:
Martin Jaeger
2020-01-28 13:20:01 +01:00
parent c04081fc8a
commit eed8c9114c
22 changed files with 280 additions and 267 deletions
+7 -7
View File
@@ -6,13 +6,6 @@
#include "load.h"
#include "pcb.h"
#include "config.h"
#include "hardware.h"
#include "leds.h"
#include "device_status.h"
#include "debug.h"
#if defined(__ZEPHYR__)
#include <zephyr.h>
@@ -27,6 +20,13 @@
#endif // __ZEPHYR__
#include "pcb.h"
#include "config.h"
#include "hardware.h"
#include "leds.h"
#include "device_status.h"
#include "debug.h"
extern LoadOutput load; // necessary to call emergency stop function
#if defined(PIN_I_LOAD_COMP) && PIN_LOAD_DIS == PB_2