Skip to content

Commit

Permalink
<fix>: <lack return value of the function>
Browse files Browse the repository at this point in the history
  • Loading branch information
FYINTE committed May 4, 2023
1 parent a1aefd6 commit 2b14a35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions solutions/ucloud_ai_demo/ucloud_ai_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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

Expand Down

0 comments on commit 2b14a35

Please sign in to comment.