From 05086f20d9477fb7884b06c8533d3a6cad7c78f1 Mon Sep 17 00:00:00 2001 From: gemu2015 Date: Sun, 10 Jan 2021 19:42:07 +0100 Subject: [PATCH] fix compiler warnings --- tasmota/xdrv_81_webcam.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/xdrv_81_webcam.ino b/tasmota/xdrv_81_webcam.ino index 0e090ef1c..179655dd4 100755 --- a/tasmota/xdrv_81_webcam.ino +++ b/tasmota/xdrv_81_webcam.ino @@ -466,7 +466,7 @@ void draw_face_boxes(dl_matrix3du_t *image_matrix, box_array_t *boxes, int face_ } */ -#define DL_SPIRAM_SUPPORT +//#define DL_SPIRAM_SUPPORT uint32_t WcSetFaceDetect(int32_t value) { if (value >= 0) { Wc.face_detect_time = value; } @@ -530,6 +530,7 @@ uint32_t WcDetectFace(void) { //Serial.printf("face detected: %d",Wc.faces); } + return 0; } #endif