Skip to content

Conversation

@oltaco
Copy link
Contributor

@oltaco oltaco commented Jan 30, 2026

Instead of calling esp_wifi_get_mode() we can set a flag to inhibit sleep when calling wifi.begin(), and check it before going to sleep.

This saves ~500 bytes of DRAM and allows Tbeam to compile again, fixes #1526

I'll mark this as draft until I can confirm it works as intended, but my reading of the docs for esp_wifi_get_mode() suggests it should be fine.

saves ~500 bytes of dram and allows Tbeam to compile again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant