ethernet: add event declarations

This commit is contained in:
Ivan Grokhotkov
2018-08-23 17:50:29 +08:00
parent 8b57fe9515
commit c001553027
2 changed files with 15 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ static bool pause_send = false;
#ifdef CONFIG_PM_ENABLE
static esp_pm_lock_handle_t s_pm_lock;
#endif
ESP_EVENT_DEFINE_BASE(ETH_EVENT);
static esp_err_t emac_ioctl(emac_sig_t sig, emac_par_t par);
esp_err_t emac_post(emac_sig_t sig, emac_par_t par);