Swapped enable_led() and isStreaming setup (#8017)

This commit is contained in:
Tomáš Pilný 2023-03-31 12:36:47 +02:00 committed by GitHub
parent 0d84018d96
commit 62640b3c92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -562,8 +562,8 @@ static esp_err_t stream_handler(httpd_req_t *req)
httpd_resp_set_hdr(req, "X-Framerate", "60");
#if CONFIG_LED_ILLUMINATOR_ENABLED
enable_led(true);
isStreaming = true;
enable_led(true);
#endif
while (true)