mirror of https://github.com/arendst/Tasmota.git
fix logic when init cam was successful (#18653)
This commit is contained in:
parent
db1b9ffe49
commit
0bf27e70fe
|
@ -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);}
|
||||
}
|
||||
|
||||
/*********************************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue