Merge remote-tracking branch 'upstream/inline-network-is-connected' into integration

This commit is contained in:
J. Nick Koston
2026-03-04 08:20:49 -10:00
+2 -2
View File
@@ -20,7 +20,7 @@
namespace esphome::network {
// The order of the components is important: WiFi should come after any possible main interfaces (it may be used as
// an AP that use a previous interface for NAT).
// an AP that uses a previous interface for NAT).
/// Return whether the node is connected to the network (through wifi, eth, ...)
inline bool is_connected() {
@@ -45,7 +45,7 @@ inline bool is_connected() {
#endif
#ifdef USE_HOST
return true; // Assume its connected
return true; // Assume it's connected
#endif
return false;
}