Skip to content

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.

2 participants