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:
@@ -5,15 +5,15 @@
|
||||
*/
|
||||
|
||||
#include "device_status.h"
|
||||
#include "config.h"
|
||||
#include "pcb.h"
|
||||
|
||||
#include "main.h"
|
||||
#include "helper.h"
|
||||
|
||||
#include <math.h> // for fabs function
|
||||
#include <stdio.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "pcb.h"
|
||||
#include "main.h"
|
||||
#include "helper.h"
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// must be called exactly once per second, otherwise energy calculation gets wrong
|
||||
void DeviceStatus::update_energy()
|
||||
|
||||
Reference in New Issue
Block a user