From df21c15972393f0deb1ad9387147a7f021dbb56e Mon Sep 17 00:00:00 2001 From: Proddy Date: Tue, 13 Feb 2024 20:19:21 +0100 Subject: [PATCH] code cleaning --- lib/framework/MqttSettingsService.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/lib/framework/MqttSettingsService.h b/lib/framework/MqttSettingsService.h index 335070780..7fd7ab69c 100644 --- a/lib/framework/MqttSettingsService.h +++ b/lib/framework/MqttSettingsService.h @@ -60,21 +60,14 @@ static String generateClientId() { class MqttSettings { public: - // host and port - if enabled bool enabled; String host; uint16_t port; String rootCA; bool enableTLS; - - // username and password - String username; - String password; - - // client id settings - String clientId; - - // connection settings + String username; + String password; + String clientId; uint16_t keepAlive; bool cleanSession;