From 92eaa070b4bc129c8d37f9edc3add5f4691a4d3f Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 21 Jul 2020 14:38:23 +0200 Subject: [PATCH] various formatting --- src/system.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/system.h b/src/system.h index cca713fc3..d986c1acb 100644 --- a/src/system.h +++ b/src/system.h @@ -42,12 +42,18 @@ class System { void start(); void loop(); - static void restart(); - static void format(uuid::console::Shell & shell); + // commands + static void restart(); + static void format(uuid::console::Shell & shell); + static void console_commands(Shell & shell, unsigned int context); + static void mqtt_commands(const char * message); + static uint8_t free_mem(); void syslog_init(); - void set_heartbeat(bool system_heartbeat); - static void console_commands(Shell & shell, unsigned int context); + + // heartbeat + void set_heartbeat(bool system_heartbeat); + void send_heartbeat(); private: static uuid::log::Logger logger_; @@ -82,8 +88,6 @@ class System { void led_monitor(); void set_led_speed(uint32_t speed); - void mqtt_commands(const char * message); - void send_heartbeat(); void system_check(); static void show_system(uuid::console::Shell & shell);