From 712a8537c9adf206d616eac816c7031f75075a32 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 4 Jan 2026 21:32:32 +0100 Subject: [PATCH] remove unused struct --- src/core/system.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/core/system.h b/src/core/system.h index 6e7612766..79e45a9c8 100644 --- a/src/core/system.h +++ b/src/core/system.h @@ -159,12 +159,6 @@ class System { static void extractSettings(const char * filename, const char * section, JsonObject output); static bool saveSettings(const char * filename, const char * section, JsonObject input); - // GPIOs - struct GpioInfo { - uint8_t pin; - std::string name; - }; - static bool add_gpio(uint8_t pin, const char * source_name); static std::vector available_gpios(); static bool load_board_profile(std::vector & data, const std::string & board_profile); @@ -446,8 +440,8 @@ class System { uint8_t pin; std::string source; }; - static std::vector> valid_system_gpios_; // list of valid GPIOs for the ESP32 board that can be used - static std::vector> used_gpios_; // list of GPIOs used by the application + static std::vector> valid_system_gpios_; // list of valid GPIOs for the ESP32 board that can be used + static std::vector> used_gpios_; // list of GPIOs used by the application int8_t wifi_quality(int8_t dBm);