Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 15e71a6

Browse files
authored
fix(esp32): Add missing vflip status in esp32-cam example (#11335)
Toggle switch for V-Flip will now indicate correct status in frontend when loading the webpage
1 parent 158c7ae commit 15e71a6

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)

AltStyle によって変換されたページ (->オリジナル) /