mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-31 11:09:10 +03:00
remove unused struct
This commit is contained in:
@@ -159,12 +159,6 @@ class System {
|
|||||||
static void extractSettings(const char * filename, const char * section, JsonObject output);
|
static void extractSettings(const char * filename, const char * section, JsonObject output);
|
||||||
static bool saveSettings(const char * filename, const char * section, JsonObject input);
|
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 bool add_gpio(uint8_t pin, const char * source_name);
|
||||||
static std::vector<uint8_t> available_gpios();
|
static std::vector<uint8_t> available_gpios();
|
||||||
static bool load_board_profile(std::vector<int8_t> & data, const std::string & board_profile);
|
static bool load_board_profile(std::vector<int8_t> & data, const std::string & board_profile);
|
||||||
@@ -446,8 +440,8 @@ class System {
|
|||||||
uint8_t pin;
|
uint8_t pin;
|
||||||
std::string source;
|
std::string source;
|
||||||
};
|
};
|
||||||
static std::vector<uint8_t, AllocatorPSRAM<uint8_t>> valid_system_gpios_; // list of valid GPIOs for the ESP32 board that can be used
|
static std::vector<uint8_t, AllocatorPSRAM<uint8_t>> valid_system_gpios_; // list of valid GPIOs for the ESP32 board that can be used
|
||||||
static std::vector<GpioUsage, AllocatorPSRAM<GpioUsage>> used_gpios_; // list of GPIOs used by the application
|
static std::vector<GpioUsage, AllocatorPSRAM<GpioUsage>> used_gpios_; // list of GPIOs used by the application
|
||||||
|
|
||||||
int8_t wifi_quality(int8_t dBm);
|
int8_t wifi_quality(int8_t dBm);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user