feat(esp8266): add API to be compatible with esp-idf

This commit is contained in:
Dong Heng
2019-11-18 17:26:57 +08:00
parent fc74bcd2d2
commit c0dc2e94fd
2 changed files with 17 additions and 1 deletions

View File

@ -108,4 +108,9 @@ esp_err_t esp_event_loop_init(system_event_cb_t cb, void *ctx)
s_event_ctx = ctx;
s_event_init_flag = true;
return ESP_OK;
}
}
esp_err_t esp_event_loop_create_default(void)
{
return ESP_OK;
}