Skip to content

Commit e93d9f5

Browse files
authored
fix(esp32): Add missing vflip status in esp32-cam example
Toggle switch for V-Flip will now indicate correct status in frontend when loading the webpage
1 parent 543fad2 commit e93d9f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
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)