-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expected ';' before '}' token in AsyncFsWebServer.cpp #54
Comments
Thanks for reporting. I just fixed the bug. By the way that line is useless, it's only there to avoid annoying warnings of unused variable. |
Thanks for fixed and your grate job. Now I have 2 similar problem invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] --> ln 170, clo 31 |
Can you suggest me a basic example for ESP32 ? |
What version of the core are you using? I'm on the 3.0.7 version now. |
With the latest available version, 3.1.0, it seems that some definitions related to FreeRTOS have changed. |
expected ';' before '}' token in file AsyncFsWebServer.cpp
ln 203, col 19
Compiled with platformio in VSC
function is
void AsyncFsWebServer::setTaskWdt(uint32_t timeout) {
#if defined(ESP32)
#if ESP_ARDUINO_VERSION_MAJOR > 2
esp_task_wdt_config_t twdt_config = {
.timeout_ms = timeout,
.idle_core_mask = (1 << portNUM_PROCESSORS) - 1, // Bitmask of all cores
.trigger_panic = false,
};
ESP_ERROR_CHECK(esp_task_wdt_reconfigure(&twdt_config));
#else
ESP_ERROR_CHECK(esp_task_wdt_init(timeout/1000, 0));
#endif
(void*)timeout <------ expected ; ?
#endif
}
The text was updated successfully, but these errors were encountered: