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);} } /*********************************************************************************************/