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:
+7
-6
@@ -5,16 +5,17 @@
|
||||
*/
|
||||
|
||||
#include "bat_charger.h"
|
||||
#include "config.h"
|
||||
#include "pcb.h"
|
||||
#include "helper.h"
|
||||
|
||||
#include "device_status.h"
|
||||
extern DeviceStatus dev_stat;
|
||||
|
||||
#include <math.h> // for fabs function
|
||||
#include <stdio.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "pcb.h"
|
||||
#include "helper.h"
|
||||
#include "device_status.h"
|
||||
|
||||
extern DeviceStatus dev_stat;
|
||||
|
||||
void battery_conf_init(BatConf *bat, BatType type, int num_cells, float nominal_capacity)
|
||||
{
|
||||
bat->nominal_capacity = nominal_capacity;
|
||||
|
||||
Reference in New Issue
Block a user