add log when app_mdns cannot get camera sensor
parent
7563e00b32
commit
ed72c1e2fb
|
|
@ -179,6 +179,8 @@ void app_mdns_main()
|
||||||
|
|
||||||
sensor_t * s = esp_camera_sensor_get();
|
sensor_t * s = esp_camera_sensor_get();
|
||||||
if(s == NULL){
|
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;
|
return;
|
||||||
}
|
}
|
||||||
switch(s->id.PID){
|
switch(s->id.PID){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue