mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2026-04-26 00:05:55 +03:00
[GH-ISSUE #1626] Using sendProgmem in code even with USE_PROGMEM_WEB_FILES commented out. #918
Labels
No labels
best of
bug
development
discussion
documentation
duplicate
feature request
help wanted
help wanted
improvement
pinned
pull-request
question
stale
translation
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/esp8266_deauther#918
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @n08i40k on GitHub (Feb 9, 2023).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/1626
Describe the bug
I commented out USE_PROGMEM_WEB_FILES in webfiles.h (to save memory).
After compiling an error occurred:
/home/n08i40k/esp8266_deauther-2/esp8266_deauther/wifi.cpp: In lambda function: wifi.cpp:426:76: error: 'indexhtml' was not declared in this scope if (settings::getWebSettings().captive_portal) sendProgmem(indexhtml, sizeof(indexhtml), W_HTML); ^ exit status 1 'indexhtml' was not declared in this scopeTo Reproduce
Steps to reproduce the behavior:
Screenshots


Environment (please complete the following information):
@welcome[bot] commented on GitHub (Feb 9, 2023):
Congrats on opening your first issue on this repository! 🎉
This is a automated message to help you avoid common pitfalls when asking for help online.
👉 Be sure to:
* 🇬🇧 Communicate in English so everybody can understand you
* 📖 Have a look at the Wiki and README for information
* 🔍 Search for similar issues (open and closed)
* ✍️ Provide enough information to understand, recreate and help out with your problem
* ℹ️ Let us know if you find a solution and please share it with us
* 📕 Close the issue when your problem has been solved