Skip to content

Commit 2b14a35

Browse files
committed
<fix>: <lack return value of the function>
1 parent a1aefd6 commit 2b14a35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: solutions/ucloud_ai_demo/ucloud_ai_demo.c

+2
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ static int imagerecog_classifying_rubbish_callback(ai_result_t *result)
470470
ugraphics_draw_string(category, 20, 60);
471471
// ugraphics_draw_string(category_score_str, 20, 80);
472472
}
473+
return 0;
473474
}
474475

475476
static int imagerecog_detect_fruits_callback(ai_result_t *result)
@@ -496,6 +497,7 @@ static int imagerecog_detect_fruits_callback(ai_result_t *result)
496497
ugraphics_draw_string(name, x, tmp_y);
497498
ugraphics_draw_string(score_str, x, tmp_y + 40);
498499
}
500+
return 0;
499501
}
500502
#endif
501503

0 commit comments

Comments
 (0)