diff --git a/components/modules/web/app_mdns.c b/components/modules/web/app_mdns.c index ad9f6da..616dd1e 100644 --- a/components/modules/web/app_mdns.c +++ b/components/modules/web/app_mdns.c @@ -179,6 +179,8 @@ void app_mdns_main() sensor_t * s = esp_camera_sensor_get(); if(s == NULL){ + ESP_LOGE(TAG, "esp_camera_sensor_get() Failed"); + ESP_LOGE(TAG, "(camera must previously be initialized with esp_camera_init() to get sensor properties)"); return; } switch(s->id.PID){