From a26d8454d611c1225d3595b0eae70de3370c922b Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 7 Jan 2021 21:21:02 +0100 Subject: [PATCH] headers for wifi, bt and adc --- src/system.h | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/system.h b/src/system.h index e380613e9..3551eefe1 100644 --- a/src/system.h +++ b/src/system.h @@ -22,6 +22,12 @@ #include #include +#if defined(ESP32) +#include "driver/adc.h" +#include +#include +#endif + #include "helpers.h" #include "console.h" #include "mqtt.h" @@ -59,14 +65,14 @@ class System { static bool command_test(const char * value, const int8_t id); #endif - static void upload_status(bool in_progress); - static bool upload_status(); - static void show_mem(const char * note); - void reset_system_check(); - static void init(); - static void led_init(); - static void syslog_init(); - static void other_init(); + static void upload_status(bool in_progress); + static bool upload_status(); + static void show_mem(const char * note); + void init_wifi(); + static void init(); + static void led_init(); + static void syslog_init(); + static void other_init(); bool check_upgrade(); void send_heartbeat();