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

@@ -153,7 +153,7 @@ typedef enum {
* @return ESP_OK : succeed
* @return others : fail
*/
typedef esp_err_t (* wifi_startup_cb_t)(void);
typedef esp_err_t (* wifi_startup_cb_t)(void *param);
void esp_wifi_startup(wifi_startup_cb_t cb);
typedef struct {