From 05f3c34da471474ff1fd209676b937eb91430560 Mon Sep 17 00:00:00 2001 From: FanYinte Date: Fri, 28 Apr 2023 21:19:47 +0800 Subject: [PATCH] fix: update ucloud_ai_demo.c --- 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