Skip to content

Commit 62640b3

Browse files
authored
Swapped enable_led() and isStreaming setup (espressif#8017)
1 parent 0d84018 commit 62640b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/ESP32/examples/Camera/CameraWebServer/app_httpd.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,8 @@ static esp_err_t stream_handler(httpd_req_t *req)
562562
httpd_resp_set_hdr(req, "X-Framerate", "60");
563563

564564
#if CONFIG_LED_ILLUMINATOR_ENABLED
565-
enable_led(true);
566565
isStreaming = true;
566+
enable_led(true);
567567
#endif
568568

569569
while (true)

0 commit comments

Comments
 (0)