header: callbacks use "void *" as arguments

This commit is contained in:
Wu Jian Gang
2016-09-12 17:25:51 +08:00
parent c5f8396df4
commit c56a790f64
4 changed files with 7 additions and 8 deletions

View File

@@ -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;