From 58af5b658bb0e06d470562db3de69e1617dd8a86 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 2 Sep 2025 16:42:38 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- Software/Software.cpp | 8 ++++---- Software/USER_SETTINGS.cpp | 3 --- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Software/Software.cpp b/Software/Software.cpp index dde1c9f3..73cdea2c 100644 --- a/Software/Software.cpp +++ b/Software/Software.cpp @@ -52,10 +52,10 @@ TaskHandle_t mqtt_loop_task; Logging logging; -std::string mqtt_user; //TODO, move? -std::string mqtt_password; //TODO, move? -std::string http_username; //TODO, move? -std::string http_password; //TODO, move? +std::string mqtt_user; //TODO, move? +std::string mqtt_password; //TODO, move? +std::string http_username; //TODO, move? +std::string http_password; //TODO, move? static std::list transmitters; void register_transmitter(Transmitter* transmitter) { diff --git a/Software/USER_SETTINGS.cpp b/Software/USER_SETTINGS.cpp index d79a90ae..8e7b46f4 100644 --- a/Software/USER_SETTINGS.cpp +++ b/Software/USER_SETTINGS.cpp @@ -20,7 +20,6 @@ volatile CAN_Configuration can_config = { .shunt = CAN_NATIVE // (OPTIONAL) Which CAN is your shunt connected to? }; - // Set your Static IP address. Only used incase WIFICONFIG is set in USER_SETTINGS.h IPAddress local_IP(192, 168, 10, 150); IPAddress gateway(192, 168, 10, 1); @@ -32,10 +31,8 @@ std::string passwordAP; const uint8_t wifi_channel = 0; // Set to 0 for automatic channel selection - // MQTT - const char* mqtt_topic_name = "BE"; // Custom MQTT topic name. Previously, the name was automatically set to "battery-emulator_esp32-XXXXXX" const char* mqtt_object_id_prefix =