mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2026-01-28 05:10:39 +03:00
gpio handler is working
This commit is contained in:
@@ -442,7 +442,7 @@ int ClassFlowControll::CleanTempFolder() {
|
||||
|
||||
esp_err_t ClassFlowControll::SendRawJPG(httpd_req_t *req)
|
||||
{
|
||||
return flowmakeimage->SendRawJPG(req);
|
||||
return flowmakeimage != NULL ? flowmakeimage->SendRawJPG(req) : ESP_FAIL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user