SpacehuhnTech / esp8266_deauther

Affordable WiFi hacking platform for testing and learning
http://deauther.com
Other
13.15k stars 2.55k forks source link

Using sendProgmem in code even with USE_PROGMEM_WEB_FILES commented out. #1626

Open N08I40K opened 1 year ago

N08I40K commented 1 year ago

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 scope

To Reproduce Steps to reproduce the behavior:

  1. Comment out USE_PROGMEM_WEB_FILES in webfiles.h on line 5.
  2. Compile sketch.
  3. See error

Screenshots изображение изображение

Environment (please complete the following information):

welcome[bot] commented 1 year ago

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