Frontend WiFi detection via file-content scanning was unreliable because fileGroups[board.activeFileGroupId] could be an empty array (not null), bypassing the ?? fallback to editorState.files. Fix: the ESP-IDF compiler now returns has_wifi:bool in its compile response. The frontend stores this on the BoardInstance and uses it in startBoard() instead of scanning file contents. The file-content scan is kept as a fallback for boards that haven't been compiled in this session. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| admin.py | ||
| auth.py | ||
| compile.py | ||
| iot_gateway.py | ||
| libraries.py | ||
| projects.py | ||
| simulation.py | ||