Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b366356

Browse files
authoredMay 2, 2025··
Add missing vflip status in app_httpd.cpp for esp32-cam example
Toggle switch for V-Flip will now indicate correct status in frontend when loading the webpage
1 parent 543fad2 commit b366356

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎libraries/ESP32/examples/Camera/CameraWebServer/app_httpd.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ static esp_err_t status_handler(httpd_req_t *req) {
478478
p += sprintf(p, "\"raw_gma\":%u,", s->status.raw_gma);
479479
p += sprintf(p, "\"lenc\":%u,", s->status.lenc);
480480
p += sprintf(p, "\"hmirror\":%u,", s->status.hmirror);
481+
p += sprintf(p, "\"vflip\":%u,", s->status.vflip);
481482
p += sprintf(p, "\"dcw\":%u,", s->status.dcw);
482483
p += sprintf(p, "\"colorbar\":%u", s->status.colorbar);
483484
#if CONFIG_LED_ILLUMINATOR_ENABLED

0 commit comments

Comments
 (0)
Please sign in to comment.