MCPcopy Create free account
hub / github.com/FastLED/FastLED / environment_has_wifi

Function environment_has_wifi

ci/util/port_utils.py:47–49  ·  view source on GitHub ↗

Check if a PlatformIO environment has WiFi hardware.

(environment: str)

Source from the content-addressed store, hash-verified

45
46
47def environment_has_wifi(environment: str) -> bool:
48 """Check if a PlatformIO environment has WiFi hardware."""
49 return environment.lower() not in NO_WIFI_ENVIRONMENTS
50
51
52@dataclass

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected