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
+2
-2
@@ -9,12 +9,12 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "bat_charger.h"
|
||||
#include "board.h"
|
||||
#include "device_status.h"
|
||||
#include "load.h"
|
||||
#include "power_port.h"
|
||||
#include "pwm_switch.h"
|
||||
#include "thingset.h"
|
||||
#include "board.h"
|
||||
|
||||
extern DcBus lv_bus;
|
||||
extern PowerPort lv_terminal;
|
||||
@@ -46,7 +46,7 @@ extern LoadOutput load;
|
||||
extern LoadOutput usb_pwr;
|
||||
#endif
|
||||
|
||||
extern ThingSet ts; // defined in data_objects.cpp
|
||||
extern ThingSet ts; // defined in data_objects.cpp
|
||||
|
||||
extern uint32_t timestamp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user