mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
header: callbacks use "void *" as arguments
This commit is contained in:
@@ -54,7 +54,7 @@ static void esp_wifi_task(void *pvParameters)
|
||||
}
|
||||
|
||||
if (startup_cb) {
|
||||
err = (*startup_cb)();
|
||||
err = (*startup_cb)(NULL);
|
||||
if (err != ESP_OK) {
|
||||
WIFI_DEBUG("startup_cb fail, ret=%d\n", err);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user