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

first cli led command not working with load config #9553

Closed
TheIsotopes opened this issue Mar 7, 2020 · 1 comment
Closed

first cli led command not working with load config #9553

TheIsotopes opened this issue Mar 7, 2020 · 1 comment

Comments

@TheIsotopes
Copy link
Contributor

Describe the bug
since #9546 the cli led command led 0 ... errored after loading config

@etracer65 pls can you check whats wrong

# # led

# led 0 3,3::C:9
###ERROR: INDEX NOT BETWEEN 0 AND 31###

# led 1 4,3::C:9
led 1 4,3::C:9

# led 2 5,3::C:9
led 2 5,3::C:9

# led 3 6,3::C:9
led 3 6,3::C:9

To Reproduce
use latest build #2110

@TheIsotopes
Copy link
Contributor Author

i think i found the mistake.

the line in cli.c should be if (i >= 0 && i < LED_MAX_STRIP_LENGTH) {

fix will follow.

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

1 participant