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

Type error: uint8_t - cycle is forever #123

Open
muhiddinov opened this issue Mar 30, 2023 · 1 comment
Open

Type error: uint8_t - cycle is forever #123

muhiddinov opened this issue Mar 30, 2023 · 1 comment

Comments

@muhiddinov
Copy link

for (uint8_t i = 0; i < packet.length; i++) {

Type uint8_t is max 255, our sending data length is 256, cycle is forever. So uint8_t change to uint16_t.

@muhiddinov muhiddinov changed the title Type error: uint8_t change to uint16_t Type error: uint8_t - cycle is forever Mar 30, 2023
@caternuson
Copy link
Contributor

Please provide complete code example that demonstrates this issue.

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