From b87d5670d94719495e4f6d168e6345a0c2f82119 Mon Sep 17 00:00:00 2001 From: lbw15507 Date: Wed, 19 Apr 2023 16:44:40 +0800 Subject: [PATCH] =?UTF-8?q?[HUST=20CSE]=20fix:=20Fixed=20return=20value=20?= =?UTF-8?q?of=20the=20function(=E4=B8=A4=E4=B8=AA=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E4=B8=AD=EF=BC=8C=E5=A6=82=E6=9E=9C=E8=BE=93=E5=85=A5=E5=8F=82?= =?UTF-8?q?=E6=95=B0result=E4=B8=BA=E7=A9=BA=E6=8C=87=E9=92=88=EF=BC=8C?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E8=BF=94=E5=9B=9E-1=E8=A1=A8=E7=A4=BA?= =?UTF-8?q?=E5=87=BA=E9=94=99=E3=80=82=E5=A6=82=E6=9E=9C=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E6=89=A7=E8=A1=8C=EF=BC=8C=E5=88=99=E8=BF=94?= =?UTF-8?q?=E5=9B=9E0=E8=A1=A8=E7=A4=BA=E6=B2=A1=E6=9C=89=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E5=8F=91=E7=94=9F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- solutions/ucloud_ai_demo/ucloud_ai_demo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/solutions/ucloud_ai_demo/ucloud_ai_demo.c b/solutions/ucloud_ai_demo/ucloud_ai_demo.c index 9b1686aff2..a824af4f66 100644 --- a/solutions/ucloud_ai_demo/ucloud_ai_demo.c +++ b/solutions/ucloud_ai_demo/ucloud_ai_demo.c @@ -470,6 +470,7 @@ static int imagerecog_classifying_rubbish_callback(ai_result_t *result) ugraphics_draw_string(category, 20, 60); // ugraphics_draw_string(category_score_str, 20, 80); } + return 0; } static int imagerecog_detect_fruits_callback(ai_result_t *result) @@ -496,6 +497,7 @@ static int imagerecog_detect_fruits_callback(ai_result_t *result) ugraphics_draw_string(name, x, tmp_y); ugraphics_draw_string(score_str, x, tmp_y + 40); } + return 0; } #endif