From 064589934cd3df5d582563f6120f4fc9b8b9c717 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Wed, 4 Dec 2019 16:04:46 +0100 Subject: [PATCH] Ignore ESP32 Camera unknown framesizes (#901) Fixes https://github.com/esphome/issues/issues/866 --- esphome/components/esp32_camera/esp32_camera.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esphome/components/esp32_camera/esp32_camera.cpp b/esphome/components/esp32_camera/esp32_camera.cpp index 2b153f5667..1d9faf7ea2 100644 --- a/esphome/components/esp32_camera/esp32_camera.cpp +++ b/esphome/components/esp32_camera/esp32_camera.cpp @@ -85,6 +85,8 @@ void ESP32Camera::dump_config() { case FRAMESIZE_UXGA: ESP_LOGCONFIG(TAG, " Resolution: 1600x1200 (UXGA)"); break; + default: + break; } if (this->is_failed()) {