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
+6 -6
View File
@@ -15,16 +15,16 @@
*/
// Only compile if this EXT interface is enabled in config.h
#ifdef EXT_TEMPLATE_ENABLED
#ifdef CONFIG_EXT_TEMPLATE_ENABLED
// implement specific extension inherited from ExtInterface
class ExtTemplate: public ExtInterface
{
public:
ExtTemplate();
void enable();
void process_asap();
void process_1s();
public:
ExtTemplate();
void enable();
void process_asap();
void process_1s();
};
static ExtTemplate ext_template; // local instance, will self register itself