From a2c96863419e0026b4a553b873be08fee0ad97cf Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Mon, 19 Jul 2021 00:33:03 +0200 Subject: [PATCH] Add HASP_START_CONSOLE --- include/hasp_conf.h | 4 ++++ include/user_config_override-template.h | 1 + 2 files changed, 5 insertions(+) diff --git a/include/hasp_conf.h b/include/hasp_conf.h index f16ee2cc..1d30b61f 100644 --- a/include/hasp_conf.h +++ b/include/hasp_conf.h @@ -54,6 +54,10 @@ #define MQTT_NODENAME "plate" #endif +#ifndef HASP_START_CONSOLE +#define HASP_START_CONSOLE 1 +#endif + #ifndef HASP_USE_HTTP #define HASP_USE_HTTP (HASP_HAS_NETWORK) #endif diff --git a/include/user_config_override-template.h b/include/user_config_override-template.h index cfa45d8e..96debfa5 100644 --- a/include/user_config_override-template.h +++ b/include/user_config_override-template.h @@ -124,6 +124,7 @@ * Other Settings **************************************************/ //#define HASP_USE_HA // Enable Home Assistant auto-discovery +//#define HASP_START_CONSOLE 0 // Disable starting of serial console at boot //#define HASP_START_TELNET 0 // Disable starting of telnet service at boot //#define HASP_START_HTTP 0 // Disable starting of web interface at boot