summaryrefslogtreecommitdiff
path: root/esp32-cam
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-05-19 00:21:32 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-05-19 00:21:32 +0300
commit70a4e03c962d4fdd321e8756e7cc9f805932b708 (patch)
tree536c68c2cf913a2d4a9cc6abeb480d350b0d99a9 /esp32-cam
parent009f1f22f1ff64228460a91e74d49eb409253fec (diff)
esp32-cam: support applying camera config
Diffstat (limited to 'esp32-cam')
-rw-r--r--esp32-cam/CameraWebServer/app_httpd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp32-cam/CameraWebServer/app_httpd.cpp b/esp32-cam/CameraWebServer/app_httpd.cpp
index 45c6f6c..16fd7d0 100644
--- a/esp32-cam/CameraWebServer/app_httpd.cpp
+++ b/esp32-cam/CameraWebServer/app_httpd.cpp
@@ -959,6 +959,7 @@ static esp_err_t status_handler(httpd_req_t *req)
p += sprintf(p, "\"raw_gma\":%u,", s->status.raw_gma);
p += sprintf(p, "\"lenc\":%u,", s->status.lenc);
p += sprintf(p, "\"hmirror\":%u,", s->status.hmirror);
+ p += sprintf(p, "\"vflip\":%u,", s->status.vflip);
p += sprintf(p, "\"dcw\":%u,", s->status.dcw);
p += sprintf(p, "\"colorbar\":%u", s->status.colorbar);
#ifdef CONFIG_LED_ILLUMINATOR_ENABLED