AliOS-Things icon indicating copy to clipboard operation
AliOS-Things copied to clipboard

[HUST CSE]update ucloud_ai_demo.c

Open FYINTE opened this issue 2 years ago • 4 comments

为什么提交这份PR (why to submit this PR) 源文件:AliOS-Things\solutions\ucloud_ai_demo\ucloud_ai_demo.c 445行处的imagerecog_classifying_rubbish_callback和476行的imagerecog_detect_fruits_callback两个函数中并无返回值,但函数类型为int,未定义的返回值可能造成后续结果的混乱

你的解决方案是什么 (what is your solution) 在473行和500行处的函数结尾添加返回值return 0

在什么测试环境下测试通过 (what is the test environment) 已通过

FYINTE avatar Apr 28 '23 13:04 FYINTE

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 28 '23 13:04 CLAassistant

patch的commit message写一下 不要只写2

YiluMao avatar May 04 '23 10:05 YiluMao

patch的commit message写一下 不要只写2

好的,已经修改

FYINTE avatar May 04 '23 11:05 FYINTE

@YiluMao

FYINTE avatar May 11 '23 13:05 FYINTE