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

告警:Comparision of unsigned integer with zero #94

Open
FarmerAccount opened this issue Aug 5, 2024 · 2 comments
Open

告警:Comparision of unsigned integer with zero #94

FarmerAccount opened this issue Aug 5, 2024 · 2 comments

Comments

@FarmerAccount
Copy link

当没有使用FAST READ功能时,下面代码段产生Comparision of unsigned integer with zero告警
for (i = 0; i < SFUD_READ_DUMMY_BYTE_CNT; i++) {
cmd_data[cmd_size] = SFUD_DUMMY_DATA;
cmd_size++;
}

@armink
Copy link
Owner

armink commented Aug 5, 2024

啥编译器呀,可否提个 PR 呢

@FarmerAccount
Copy link
Author

IAR
demo\stm32f10x_non_os\EWARM参考工程就有这个告警。

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

No branches or pull requests

2 participants