Check if a PlatformIO environment has WiFi hardware.
(environment: str)
| 45 | |
| 46 | |
| 47 | def 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 |
no outgoing calls
no test coverage detected