Exposed denoise and sharpness parameters, which are already available in the http IHM but return a 500, and available in the sensor API

pull/165/head
Yoann Couble 2020-12-10 09:13:35 +01:00
parent 73d4e2dc05
commit d630f9715d
1 changed files with 4 additions and 0 deletions

View File

@ -728,6 +728,10 @@ static esp_err_t cmd_handler(httpd_req_t *req)
} }
else if (!strcmp(variable, "quality")) else if (!strcmp(variable, "quality"))
res = s->set_quality(s, val); res = s->set_quality(s, val);
else if (!strcmp(variable, "denoise"))
res = s->set_denoise(s, val);
else if (!strcmp(variable, "sharpness"))
res = s->set_sharpness(s, val);
else if (!strcmp(variable, "contrast")) else if (!strcmp(variable, "contrast"))
res = s->set_contrast(s, val); res = s->set_contrast(s, val);
else if (!strcmp(variable, "brightness")) else if (!strcmp(variable, "brightness"))