From 0bf27e70fef10cef25f9d1dbf83208184f8eacd1 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 14 May 2023 14:08:53 +0200 Subject: [PATCH] fix logic when init cam was successful (#18653) --- tasmota/tasmota_xdrv_driver/xdrv_81_esp32_webcam.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_81_esp32_webcam.ino b/tasmota/tasmota_xdrv_driver/xdrv_81_esp32_webcam.ino index 465fb0a63..4697ab389 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_81_esp32_webcam.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_81_esp32_webcam.ino @@ -974,7 +974,7 @@ uint32_t WcSetStreamserver(uint32_t flag) { void WcInterruptControl() { WcSetStreamserver(Settings->webcam_config.stream); - if(Wc.up != 0) {WcSetup(Settings->webcam_config.resolution);} + if(Wc.up == 0) {WcSetup(Settings->webcam_config.resolution);} } /*********************************************************************************************/