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:
+6
-6
@@ -10,11 +10,11 @@
|
||||
|
||||
#if CONFIG_EXT_OLED_DISPLAY // otherwise don't compile code to reduce firmware size
|
||||
|
||||
#include "ext/ext.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "ext/ext.h"
|
||||
|
||||
#include "main.h"
|
||||
#include "pcb.h"
|
||||
#include "oled_ssd1306.h"
|
||||
@@ -22,10 +22,10 @@
|
||||
// implement specific extension inherited from ExtInterface
|
||||
class ExtOled: public ExtInterface
|
||||
{
|
||||
public:
|
||||
ExtOled() {};
|
||||
void enable();
|
||||
void process_1s();
|
||||
public:
|
||||
ExtOled() {};
|
||||
void enable();
|
||||
void process_1s();
|
||||
};
|
||||
|
||||
static ExtOled ext_oled; // local instance, will self register itself
|
||||
|
||||
Reference in New Issue
Block a user