mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 15:35:59 -07:00
debloat
This commit is contained in:
@@ -480,7 +480,7 @@ bool WiFiComponent::matches_configured_network_(const char *ssid, const uint8_t
|
||||
continue;
|
||||
}
|
||||
// Match by SSID
|
||||
if (sta.ssid_ == StringRef(ssid)) {
|
||||
if (sta.ssid_ == ssid) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -200,6 +200,8 @@ class CompactString {
|
||||
bool operator!=(const CompactString &other) const { return !(*this == other); }
|
||||
bool operator==(const StringRef &other) const;
|
||||
bool operator!=(const StringRef &other) const { return !(*this == other); }
|
||||
bool operator==(const char *other) const { return *this == StringRef(other); }
|
||||
bool operator!=(const char *other) const { return !(*this == other); }
|
||||
|
||||
protected:
|
||||
char *get_heap_ptr_() const {
|
||||
|
||||
Reference in New Issue
Block a user