fix logic when init cam was successful (#18653)

This commit is contained in:
Jason2866 2023-05-14 14:08:53 +02:00 committed by GitHub
parent db1b9ffe49
commit 0bf27e70fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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