maximkulkin / esp32-homekit-camera

Firmware for esp32-camera module to act as Apple Homekit IP camera
MIT License
394 stars 78 forks source link

IDF v4.x deprecates esp_event_loop.h 'tcpip_adapter_init' and 'esp_event_loop_init' #71

Open hire-vladimir opened 3 years ago

hire-vladimir commented 3 years ago

Warnings are seen at compile time for module deprecation. The new way forward example is found at https://github.com/espressif/esp-idf/blob/master/examples/wifi/getting_started/station/main/station_example_main.c

esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
app_main.c:49:5: warning: 'tcpip_adapter_init' is deprecated [-Wdeprecated-declarations]
app_main.c:51:5: warning: 'esp_event_loop_init' is deprecated [-Wdeprecated-declarations]