Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HUST CSE][play.c]Fix function return value exception #1984

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Xuhxx
Copy link

@Xuhxx Xuhxx commented Apr 17, 2023

函数返回值和类型不匹配

为什么提交这份PR (why to submit this PR)
源文件:solutions/tflite_micro_speech_demo/player/player.c
128行处的player_stop()和140行的player_wait_complete()两个函数中并无返回值,但函数类型为int32,若将该函数值赋予变量时可能会出现bug

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

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

@CLAassistant
Copy link

CLAassistant commented Apr 17, 2023

CLA assistant check
All committers have signed the CLA.

@Xuhxx Xuhxx changed the title [play.c]Fix function return value exception [HUST CSE][play.c]Fix function return value exception Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants